/OPNDST command
The /OPNDST command is a multisegment command that causes IMS to initiate a session with either an ISC TCP/IP or a VTAM® terminal.
For VTAM terminals, if the USER keyword is specified, the user is signed on automatically to the terminal after successful session initiation.
For ISC TCP/IP terminals, the user is signed on automatically after successful session initiation.
Subsections:
Environment
The following table lists the environments (DB/DC, DBCTL, and DCCTL) in which you can use the commands and keywords.
Command / Keywords | DB/DC | DBCTL | DCCTL |
---|---|---|---|
/OPNDST | X | X | |
ID | X | X | |
LOGOND | X | X | |
MODE | X | X | |
NODE | X | X | |
Q | X | X | |
UDATA | X | X | |
USER | X | X | |
USERD | X | X |
Syntax
The /OPNDST command without the USER keyword: Use this form of the command for all static and ETO terminals except ETO SLU P and Finance terminals, ETO output-only devices, and all ISC parallel sessions.
The /OPNDST command with the USER keyword for non-ISC: Use this form of the command for:
- ETO SLU P and Finance terminals
- ETO output-only devices, for example, 3284, 3286, and SLU P1 with a single component of PRINTER1
The /OPNDST command with the USER keyword for ISC TCP/IP: Use this form of the command for all ISC parallel sessions, both static and ETO.
The /OPNDST command with the USER keyword for ISC VTAM: Use this form of the command for all ISC parallel sessions, both static and ETO.
Keywords
The following keywords are valid for the /OPNDST command:
- ID
- Is applicable
only if the USER keyword is specified and the node is a parallel session
ISC VTAM node. ID must not
be specified for a single session ISC node.
For ISC VTAM parallel sessions, ID identifies the other system half-session qualifier. ID idname must be specified to open ISC nodes defined with users. The ID idname is passed to the other half-session with the session initiation request. If the other system is another IMS system, idname is the name of an ISC user in that system.
For ISC TCP/IP parallel sessions, the ID keyword does not apply. If the ID keyword is specified, it is ignored.
- LOGOND
- Indicates the logon descriptor used for session establishment. LOGOND is supported for both dynamic ISC TCP/IP nodes and dynamic non-ISC nodes.
- MODE
- Identifies
the LOGON MODE table entry that VTAM must
use and can determine operating characteristics for certain VTAM terminals. If a list of node
names is given, the MODE keyword is applied to each of them. The command
checks whether each node has been defined to accept IMS initiated connections. If the node was defined
as NOPNDST, the /OPNDST command accepts all the
nodes except the node defined as NOPNDST.
ISC TCP/IP sessions do not support the MODE keyword.
- NODE
- Specifies the
node with which IMS initiates
a session.
The /OPNDST NODE ALL command opens sessions for all static terminals except ISC parallel sessions. The command has considerable concurrent activity, both for IMS and for VTAM. Ensure that the system has sufficient pool sizes, buffer sizes, and number of concurrent IMS tasks defined.
If the USER keyword is not specified in the command, the NODE parameter can be generic or ALL, or a range of static nodes, or there can be multiple NODE parameters. If a generic, ALL, or range of node names is specified, any nodes defined with users are ignored and flagged with an error message.
The /OPNDST NODE USER command logs on and signs on a user at the same time, except for ISC terminals. On ISC terminals, the session is allocated.
The following list includes sample /OPNDST NODE USER commands:- To log on and sign on to a static non-ISC terminal:
This command marks a statically defined terminal as signed on by the user./OPNDST NODE nodename USER username UDATA userdata
- To log on and sign on to an ETO non-ISC terminal:
This command creates the terminal and user structures, and allocates the newly created user structure to the terminal structure created to indicate signed on status./OPNDST NODE nodename USER username MODE modename LOGOND logondname USERD userdname UDATA userdata
- To log on and sign on to a static ISC terminal:
/OPNDST NODE nodename USER username ID idname
This command finds the subpool structure and allocates the subpool (user) structure to the statically defined ISC terminal. If the terminal is defined to use ISC TCP/IP, the ID keyword does not apply and is ignored by IMS.
- To log on and sign on to an ETO ISC VTAM terminal:
This command creates the terminal and subpool (user) structure and allocates the newly created user structure to the terminal structure created. The command also signs on the user with the username (the username must be defined to RACF®), and remains signed on until the user issues a /SIGN OFF command, or the session is terminated./OPNDST NODE nodename USER username ID idname MODE modename LOGOND logondname USERD userdname UDATA userdata
- To log on and sign on to an ETO
ISC TCP/IP terminal:
/OPNDST NODE nodename USER username LOGOND logondname
This command creates the terminal and subpool (user) structure and allocates the newly created user structure to the terminal structure created. The command also signs on the user with the username (the username must be defined to RACF), and remains signed on until the user issues a /SIGN OFF command, or the session is terminated.
For ISC TCP/IP parallel sessions, a logon descriptor must exist that specifies the LCLICON keyword for TCP/IP support. IMS uses the value of the NODE keyword to search for a logon descriptor only when the LOGOND keyword is not specified. If the logon descriptor does not exist or does not specify TCP/IP support, IMS attempts to open the session as a VTAM node.
To restart failing ETO sessions (for example, ETO only or printer sessions), use the /OPNDST NODE USER command.
In an IMSplex, /OPNDST NODE specifies a VTAM node with which IMS initiates a session. Specify ROUTE(imsid), if you want to log the node onto a particular IMS. If ROUTE(imsid) is not specified, and /OPNDST is routed to all the IMS systems, IMS processes the command only on the IMS system designated as the command master. If the ROUTE keyword specifies multiple IMS systems so that the /OPNDST command is routed to more than one IMS systems, IMS processes the command only on the IMS system designated as the command master. On the other IMS systems, the /OPNDST command is rejected.
- To log on and sign on to a static non-ISC terminal:
- Q
- Causes IMS to request VTAM to queue SIMLOGON requests for VTAM/SNA-supported terminals.
The /OPNDST NODE Q command also allows IMS to request another subsystem to share a node (usually printers) with IMS. If the other subsystem is using the printer, VTAM queues the SIMLOGON request for IMS for the printer, schedules the owning subsystem's RELREQ VTAM exit, and acquires the printer for IMS after the current owning system releases the printer. Multiple requests for the same printer are queued by VTAM for processing.
The /DISPLAY NODE command is used to determine whether IMS has acquired the printer.
ISC TCP/IP sessions do not support the Q keyword.
- UDATA
- Indicates the
user data used with the signon.
The UDATA keyword is valid only if the USER keyword and parameter are also specified. The UDATA keyword is valid for static and dynamic users. It is not valid for ISC nodes. The user data can be up to 256 bytes long. Passwords can be mixed case or lowercase depending on what is specified on the PSWDC keyword in the DFSPBxxx IMS.PROCLIB member.
ISC TCP/IP sessions do not support the UDATA keyword.
RACF password phrases are not supported with UDATA.
- USER
- Identifies the
logical terminal user to be allocated to the half-session to be created
for the ISC node that is specified on the NODE keyword.
For dynamic non-ISC users, it specifies the user ID to be signed on to the dynamic node nodename.
The USER keyword applies to ISC sessions when allocating a user to an ISC node, to dynamic users when signing a dynamic user on to a dynamic node, and to static user IDs when signing a user on to a static node.
USER username must be specified to open parallel session ISC nodes with users. It must not be specified for a single session ISC node.
Restrictions for using NODE and USER parameters together:
- Commands with the NODE USER keyword pair are valid only if:
- The USER is signed on to the NODE
- In an ISC environment, the USER is allocated to the NODE
- The nodes and users already exist
- The /OPNDST NODE USER commands are valid for ISC and non-ISC nodes and users.
- Commands with the NODE USER keyword pair are valid only if:
- USERD
- Specifies the
user descriptor to be used with the signon. It is valid only if the
USER keyword and parameter are specified. USERD is only supported
for dynamic users and is only valid for dynamic non-ISC nodes. The
user descriptor can also be provided through the logon or signon exits.
ISC TCP/IP sessions do not support the USERD keyword.
Usage notes
All forms of logging-on a remote VTAM terminal to IMS, including the use of the /OPNDST command, do not work until the /START DC command has been entered and accepted by IMS.
All /OPNDST formats require an EOM indication to denote end-of-message. An EOS indication must be included for all segments that precede the last segment.
You can issue /OPNDST on the XRF alternate to restart a failed backup session for a class 1 ETO terminal. To do this, the node and the user structure must still exist and be coupled together, and an active session must exist on the active system. If the node and the user are not coupled, or an active session does not exist on the active system, the command is rejected.
This command can be issued to an IMSplex using the Batch SPOC utility.
A period is normally used as the delimiter at the end of IMS commands. When support for special characters is enabled in RACF, a period becomes a valid character in the RACF password. Therefore, when a password is specified at the end of the /OPNDST command, you must insert a space before the period that you are using as the end-of-command delimiter. If a space is not added before the period that is intended to be the end-of-command delimiter and support for special characters is enabled in RACF, the period is treated as part of the password and not as a delimiter.
One or more equal signs (=) can normally be used as a valid delimiter between a keyword and the keyword value on the /OPNDST command. However, when support for special characters is enabled in RACF, an equal sign becomes a valid character in the RACF password. If you use the equal sign as a delimiter when support for special characters is enabled in RACF, you can specify only one delimiter immediately preceding the password on the UDATA keyword. Any equal sign that follows the delimiter is interpreted as the first character of the password.
Examples
The following are examples of the /OPNDST command:
Example 1 for /OPNDST command
/DIS NODE L3270*
NODE-USR TYPE CID RECD ENQCT DEQCT QCT SENT
L3270A 3277 00000000 0 0 0 0 0 IDLE C1INOP STATIC
L3270B 3277 00000000 0 0 0 0 0 IDLE C1INOP STATIC
L3270C 3277 08000002 44 45 45 0 80 CON STATIC
L3270D 3277 00000000 2 0 0 0 7 IDLE STATIC
*94307/145048*
/OPNDST NODE L3270*
Response ET: DFS058I OPNDST COMMAND COMPLETED
/DIS NODE L3270*
NODE-USR TYPE CID RECD ENQCT DEQCT QCT SENT
L3270A 3277 06000004 0 0 0 0 1 IDLE CON STATIC
L3270B 3277 04000005 0 0 0 0 1 IDLE CON STATIC
L3270C 3277 08000002 46 46 46 0 82 CON STATIC
L3270D 3277 04000006 2 0 0 0 8 IDLE CON STATIC
*94307/145750*
Explanation: The nodes L3270A through L3270D are logged on to IMS.
Example 2 for /OPNDST command
/OPNDST NODE DT327002 USER IMSUS01 MODE LU032NT4 USERD DFSUSER
UDATA= IMSPW01.
DFS058I 11:07:48 OPNDST COMMAND COMPLETED
Explanation: A session with dynamic node DT327002 is established by using mode table LU032NT4. User IMSUS01 is signed on to the node using user descriptor DFSUSER, username IMSUS01, and password IMSPW01.
Example 3 for /OPNDST command
/OPNDST NODE DTSLU201 USER IMSUS01 MODE SLU2MOD1 USERD DFSUSER
LOGOND DFSSLU2 UDATA=IMSPW01.
DFS058I 11:07:48 OPNDST COMMAND COMPLETED
Explanation: DTSLU201 is logged on. A session with dynamic node DTSLU201 is established by using logon descriptor DFSSLU2 (type SLU2), and mode table SLU2MOD1. Dynamic user IMSUS01 is signed on to the node using user descriptor DFSUSER and password IMSPW01.
Example 4 for /OPNDST command
/OPNDST NODE WEST-EAST
DFS058I OPNDST COMMAND COMPLETED
DFS3650 TERMINAL CONNECTED TO IMS XXXXXXXX
Explanation: The nodes, WEST through EAST, are logged on to IMS.
Example 5 for /OPNDST command
The following set of commands illustrate the use of the MODE keyword on the /OPNDST command.
/DIS NODE LUTYPEP1 MODE
NODE-USR TYPE DEF MODETBL ACT MODETBL
LUTYPEP1 SLUP DEFRESP
*90179/100206*
Explanation: DEFRESP is the mode table name defined for node LUTYPEP1 at system definition. The session is not active so the ACT MODETBL field is blank.
/OPN NODE LUTYPEP1.
DFS058I OPNDST COMMAND COMPLETED
/DIS NODE LUTYPEP1 MODE
NODE-USR TYPE DEF MODETBL ACT MODETBL
LUTYPEP1 SLUP DEFRESP DEFRESP
*90179/100508*
Explanation: A mode table name was not specified with the /OPNDST command so the default value defined at system definition was used to initiate the session.
/CLS NODE LUTYPEP1
DFS058I CLSDST COMMAND COMPLETED
/DIS NODE LUTYPEP1 MODE
NODE-USR TYPE DEF MODETBL ACT MODETBL
LUTYPEP1 SLUP DEFRESP
*90179/100630*
Explanation: Active mode table name displays as blank at normal session termination.
/OPN NODE LUTYPEP1 MODE ALPHA.
DFS058I OPNDST COMMAND COMPLETED
/DIS NODE LUTYPEP1 MODE
NODE-USR TYPE DEF MODETBL ACT MODETBL
LUTYPEP1 SLUP DEFRESP ALPHA
*90179/100805*
Explanation: The mode table name specified with the /OPNDST command (ALPHA) is used to initiate the session. The default value specified at system definition (DEFRESP) is overridden by the /OPNDST command.
Example 6 for /OPNDST command
In the following example, the /OPNDST NODE command is issued for an ISC TCP/IP parallel session.
/OPN NODE CICS USER CICD.
DFS058I OPNDST COMMAND COMPLETED
/DISPLAY NODE CICS USER CICD
NODE-USR TYPE CID RECD ENQCT DEQCT QCT SENT
CICS TCP
-CICD ******** 0 0 0 0 0 SIGN(CICD )
IDLE CON
*13175/200817*