CL Command Reference - ENDMOD
CL Command List > ENDMOD Reference
Description:
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.
Examples:
ENDMOD RMTLOCNAME(APPCRLOC) MODE(APPCMOD)
This command ends a mode named APPCMOD for remote location APPCRLOC.