Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Mode (ENDMOD) command ends (deactivates) a single mode or all active modes for a specific advanced program-to-program communications (APPC) remote location. The mode remains inactive until a Start Mode (STRMOD) command is run to start the mode. This command can be used to end all the sessions for a particular remote location and to cause an active switched connection to disconnect. The user can also specify how activities that have been requested on the remote system but have not yet been performed are to be handled.
The APPC Programming book, SC41-5443 has more information on the ENDMOD command.
Restriction: This command cannot be used to end (deactivate) Client Access/400 mode (QPCSUPP) at a remote location.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RMTLOCNAME | Remote location | Communications name | Required, Positional 1 |
DEV | Device | Name, *LOC | Optional |
MODE | Mode | Communications name, *NETATR, *ALL | Optional |
LCLLOCNAME | Local location | Communications name, *LOC, *NETATR | Optional |
RMTNETID | Remote network identifier | Communications name, *LOC, *NETATR, *NONE | Optional |
CPLPNDRQS | Complete pended requests | *NO, *YES | Optional |
Top |
Specifies the remote location name for which one or more modes are to be ended.
This is a required parameter.
Top |
Specifies the device description name.
The possible values are:
Top |
Specifies the mode that is to be ended.
The possible values are:
Note: SNASVCMG and CPSVCMG are reserved names and cannot be specified.
Top |
Specifies the local location name.
The possible values are:
Top |
Specifies the remote network ID used with the remote location.
The possible values are:
Top |
Specifies if the remote location can complete pending work, or if the pended work should be ended before being allowed to start.
The possible values are:
Top |
ENDMOD RMTLOCNAME(APPCRLOC) MODE(APPCMOD)
This command ends a mode named APPCMOD for remote location APPCRLOC.
Top |
Top |