/END command

The /END command terminates all special operating modes established through the prior entry of an /EXCLUSIVE, /TEST, or /LOOPTEST command.

/END NODE | USER does not reset TEST mode. Only the same terminal that is in TEST mode can reset the TEST mode (using /END without the NODE or USER keywords).

Subsections:

Environment

The following table lists the environments (DB/DC, DBCTL, and DCCTL) in which you can use the command and keywords.

Table 1. Valid environments for the /END command and keywords
Command / Keywords DB/DC DBCTL DCCTL
/END X   X
LINE X   X
NODE X   X
PTERM X   X
USER X   X

Syntax

Read syntax diagramSkip visual syntax diagram/ENDLINEline#PTERMpterm#NODEnodenameUSERusernameUSERusername

Keywords

The following keywords are valid for the /END command:

LINE
Specifies the communication line for which special operating modes are terminated.
NODE
Specifies the VTAM® node for which special operating modes are terminated.

/END NODE is not valid for ISC nodes with users or nodes that were dynamically created. /END NODE USER only applies to ISC sessions and affects the half-session allocated to username.

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
  • /END NODE USER commands are valid for ISC and non-ISC nodes and users.
USER
Without the NODE keyword, USER specifies the dynamic user for which special operating modes are terminated. The named user must exist in IMS, must be dynamic, and must not be signed on to a node. When /END USER is issued against a temporary user, which was created solely to retain status that is now reset, the temporary user is deleted at the next simple checkpoint.

Usage notes

The /END NODE command applies to dynamic nodes in addition to static nodes because MFSTEST mode is associated with dynamic nodes as well as dynamic users. The /END NODE command and the /END NODE USER command reset MFSTEST mode at the node level. The /END USER command resets MFSTEST at the user level. The /END command with no keywords resets MFSTEST at the node level for static terminals (they have no user level) and at the user level for dynamic terminals. The /END NODE USER command supports static and dynamic ISC sessions. When the /END NODE command or the /END NODE USER command is used for a dynamic node, only MFSTEST is reset. Exclusive mode can only be reset for a dynamic resource with the /END USER command. If global resource information is kept in Resource Manager, MFSTEST mode is reset globally and locally. If global resource information is not kept in Resource Manager, MFSTEST mode is reset locally.

The /END command with no keywords operates on the entering terminal with a signed on user. The /END command with no keywords is not supported through the OM API in an IMSplex.

This command can be issued to an IMSplex using the Batch SPOC utility.

Example

Entry ET:
  /END
Response ET:
  DFS058I  END COMMAND COMPLETED

Explanation: All modes that previously existed are ended.