Skip to main content

E. Output Operations

The user may wait to set up a virtual printer (or punch) and open its channel until a STATUS message on his console indicates output is ready; or he may leave the output channel(s) open during the entire session, ready to receive output whenever it becomes available. He can also control which one of several available jobs is to be returned by entering appropriate operator commands.

To be prepared to receive printer (or punch) output from his jobs, the user site issues Init (local = U + 4 (U + 6), foreign = S + 3 (S + 5), size = 8), respectively. NETRJS is listening on these sockets and should immediately return an STR. However, it is possible that because of software problems at CCN, RJS will refuse the connection and a CLS will be returned; in this case, try again or call the Technical Liaison.

When RJS has output to send to a particular (virtual) terminal and a corresponding open output channel, it will send the output as a series of logical records using the protocol in Appendix A. The first record will consist of the job name (8 characters) followed by a comma and then the ID string from the JOB card (if any). In the printer stream, the first column of each record will be an ASA carriage control character (see Appendix C); the punch output stream will never contain carriage control characters.

NETRJS will send an End-of-Data transaction and then close an output channel at the end of the output for each complete batch job; the remote site must then send a new RFC (and ALL) to start output for another job. This gives the remote site a chance to allocate a new file for each job without breaking the output within a job. If the user at the remote site wants to cancel (or backspace or defer) the output of a particular job, he enters appropriate RJS commands on the operator input channel (see Appendix D).

A virtual printer in NETRJS has 254 columns, exclusive of carriage control; RJS will send up to 255 characters of a logical record it finds in a SYSOUT data set. If the user wishes to reject or fold records longer than some smaller record size, he can do so in his VRBT process.

If RJS encounters a permanent I/O error in reading the disk data set, it will notify the user via his console, skip forward to the next set of system messages or SYSOUT data set in the same job, and continue. In the future, RJS may be changed to send a Lost Data marker within the data stream as well as a console message to the user. In any case, the user will receive notification of termination of output data transfer for each job via messages on his console.

If the user detects an error in the stream, he can issue a Backspace (BSP) command from his console to repeat the last "page" of output, or a Restart (RST) command to repeat from last SYSOUT data set or the beginning of the job, or he can abort the channel by closing his socket. If he aborts the channel, RJS will simulate a Backspace command, and when the user re-opens the channel the job will begin transmission again from an earlier point in the same data set. This is true even if the user terminates the current session first, and re-opens the channel in a later session; RJS saves the state of its output streams. However, before re-opening the channel he can defer this job for later output, restart it at the beginning, or cancel its output (see Appendix D). Note that aborting the channel is only effective if RJS has not yet sent the End-of-Data transaction.

If the user's process, NCP, or host, or the Network itself fails during an output operation, RJS will act as if the channel had been aborted and the user signed off. In no case should a user lose output from NETRJS.