Skip to main content

Using NETRJT at CCN: Getting Started and Retrieving Output

1. Getting Started​

  1. Perform ICP to server TELNET (socket 1).
  2. Execute command "RJT", yielding ready message from NETRJT.
  3. Issue RJS SIGNON command.
  4. These steps result in a standard full-duplex TELNET connection for an RJS remote operator console. The user can issue commands to learn the status of his jobs, send messages, reroute and abort jobs, etc.

2. Retrieving Output​

a. The TIP user captures a local output device and then executes the NETRJT OPEN command for the PRINTER or PUNCH. For example, if the connection is not yet open, then either of:

O  PR=socket

O PR(*)=socket

opens a printer connection and selects the first job in the printer queue for this terminal id.

O  PR(jobname)=socket

similarly opens a connection but selects a specified job's output. In either case, if output is not yet available the connection remains open but idle, and the output is sent when it does appear. If the socket number is omitted and the connection is not yet open, the server will prompt for a socket number.

b. If the specified output device already has an open connection, either of the open commands:

O  PR

O PR(jobname)

may be issued to accept (see e. below) the last job's output and select and send another job's output. If the connection is already open, the open command may still specify "=socket", but if the specified socket does not match that currently open there will be an error message.

c. While the output stream is idle, the user can issue RJT commands with DTP, RECFM, CODE and/or SIZE parameters.

d. When the specified output is available, the server will send a stream of print line (or punched card) images. The user may issue the following RJS stream control commands (see NIC 7182 and 7183 for more information on RJS commands).

  1. BACKSPACE: repeats roughly the last page of printed output.
  2. RESTART: restarts output at the beginning of the current SYSOUT data set or ("JOB" option) at the beginning of the job.
  3. CANCEL: deletes rest of current SYSOUT data set, or (",JOB" option) the entire job except accounting information.
  4. DEFER: stops transmission of the current job and returns it to the queue, marked "deferred". Can be restarted later, with a "backspace" ("RESET jobname" command) or from the beginning ("RESTART jobname" command).

e. The server does not discard job output until it is fully transmitted to the TIP and the user has accepted it. If the user issues a "CLOSE device" or the connection breaks accidentially (e.g. due to software or hardware failure in either host) before the output is accepted, the server saves the output with an implied BACKSPACE. When the user later reopens the connection and again selects this job (either explicitly by name or by calling for the next job), it will be retransmitted, repeating the last page. The user can also defer or restart the job output before reopening the connection. Note that CLOSE without the ACCEPT option is generally a "panic" control to stop the output stream if the printer paper jams, etc.

f. Transmitted output will be considered accepted by the user if:

  1. The user issues a new OPEN command for that device.
  2. The user issues a "CLOSE device, ACCEPT" (e.g. "CL#PR,A") command for that device. This command will be held pending until job output in progress has completed. After the last RFNM is received, the connection will be closed and the job output discarded at the server end.
  3. The original OPEN command specified "(*)", i.e. an asterisk for jobname. This implies that the device stream is going to be running continuously and that the user does not want to explicitly request each output job or to accept each one. Thus, if the stream is opened "(*)", then the server assumes each job is accepted when the RFNM returns from the last block.