Skip to main content

Using NETRJT at CCN: Sending Input

3. Sending Input​

(a) The user sends the following remote operator command to the server:

OPEN  READER=socket

(This may be shortened to "O R=socket"). The server will send an RFC to the user's card reader socket on which his TIP should be listening. The server will issue an operator message when the connection is open. The connection will be considered idle until the first card image is received by the server. The OPEN command will be ignored if the connection is already open, or if an earlier open request is pending.

(b) Before or after the open, but while the connection is idle, the user may issue RJT commands to set the record format, data transfer protocol, code, and/or maximum record size to different values.

(c) The user sends in a stream of card images which constitute one or more jobs. The server will discard the spooled images for a job without processing them if the user issues a CANCEL READER command or if the connection breaks (e.g. due to software or hardware failures in either host) before the job is accepted for processing. The stream then becomes idle again.

(d) A spooled job will be accepted by the server only when one of the following occurs:

  1. A server-dependent end-of-job card (e.g. "//null" at CCN) is received by the server. The last job is accepted, and the stream becomes idle until another card is received.
  2. A server-dependent beginning-of-job card (e.g. a "JOB" card at CCN) is received by the server. The previous job is accepted but the stream does not become idle at this time.
  3. The user issues a CLOSE READER,ACCEPT (or "CL#R,A") command to the server. The stream is closed.

(e) The user can issue a CLOSE READER ("CL#R") command to close the stream. However, this command will be held pending by the server until the stream is idle, unless the form "CLOSE READER,ACCEPT" is issued. A CLOSE will cancel a pending OPEN command, and vice versa. The server will send the remote operator a message when a connection opens or closes.

(f) Some servers (e.g. CCN) will extract the jobname for each input job from the reader stream. However, the OPEN command may specify a particular jobname, overriding that in the reader stream. That is, the jobname from the OPEN command will replace that appearing in the first job of the newly-opened stream. This feature is merely a convenience, and was included mainly for syntactic consistency between input and output. However, the use of asterisk as a jobname has no meaning for the reader stream, and will be ignored.