Sequencing the SIGNON, SWAP NODE, and SIGNOFF Commands
When you issue SIGNON, SWAP NODE, and SIGNOFF commands, the sequence in which you issue these commands is important, as shown in the following examples.
Example 1: Terminating Two Sessions with One SIGNOFF Command
The following example shows a DGADBATC SIGNON to two different nodes and the use of the SWAP NODE command. The SIGNOFF command in this example causes IBM® Connect:Direct® to terminate both sessions, because the active session at signoff is the master session.
|
Example 2: Terminating a Master Session with the SIGNOFF Command
In the following example, the first SIGNOFF command terminates the CD.NEWYORK node because it is the last SIGNON command issued. The second SIGNOFF command terminates both the CD.JERSEY and CD.BOSTON nodes because the first SIGNOFF command made the master session the active session and signing off the master session signs off all other sessions.
|
Example 3: Terminating a Non-Master Session with the SIGNOFF Command
The following example illustrates that whenever a SIGNOFF command is issued to a non-master session, the master session automatically becomes active again regardless of the order in which the nodes are signed on.
If you try to swap to a node that is already active, the SWAP NODE command is ignored. The USERID (or any other user ID specified) must be a user record in the IBM Connect:Direct authorization file or a valid ID for the security subsystem in use, to sign on to the node.
|