Skip to main content

C. Starting and Terminating a Session

The remote user establishes a connection to RJS via the standard ICP from his socket U to socket 11 [sub] 10 (EBCDIC) or socket 13 [sub] 10 (ASCII) at host 1, IMP 1. If successful, the ICP results in a pair of connections which are in fact the NETRJS operator control connections.

Once the user is connected, he must enter a valid RJS signon command ("SIGNON terminal-id") through his console. RJS will normally acknowledge signon with a console message; however, if RJS does not recognize the terminal-id or has no available Line Handler for the Network, it will indicate refusal by closing both operator connections. If the user attempts to open data transfer connections before his signon command is accepted, the data transfer connections will be refused by CCN with an error message to his console.

Suppose the operator input connection is socket S at CCN; S is the even number sent in the ICP. Then the other NETRJS channels have sockets at CCN with fixed relation to S, as shown in the table below. Until there is a suitable Network-wide solution to the problem of identity control on sockets, NETRJS will also require that the VRBT process use fixed socket offsets from his initial connection socket U. These are shown in the following table:

            Channel                        CCN Socket    Remote Socket
(Server) (User)

Telnet / Remote Operator Console Input S U + 3 \
\ Remote Operator Console Output S + 1 U + 2 / Telnet
Data / Card Reader #1 S + 2 U + 5
Transfer < Printer #1 S + 3 U + 4
\ Punch #1 S + 5 U + 6

Once the user is signed on, he can open data transfer channels and initiate input and output operations as explained in the following sections. To terminate the session, the remote user may close all connections. Alternatively, the user may enter a SIGNOFF command through his console; in this case, RJS will wait until the current job output streams are complete and then itself terminate the session by closing all connections.