Shuts down the PowerExchange Agent address space. This command prevents any additional tasks from connecting to the PowerExchange Agent but permits tasks that are currently connected to continue running.
You can include the optional COMPLETELY parameter to both shut down the PowerExchange Agent address space and delete the PowerExchange Agent modules and data space from storage. Before issuing the SHUTDOWN COMPLETELY command, issue the DRAIN command. The DRAIN command ensures that all tasks that are currently accessing the PowerExchange Agent complete before shutdown processing begins. After issuing the DRAIN command, issue the DISPLAY JOBS command to determine if any processes are still active.
Do not use the MVS STOP command to stop the PowerExchange Agent.
To restart the PowerExchange Agent after a shutdown, use the standard MVS START command.
Syntax
Use the following command syntax:
cmd_prefix
SHUTDOWN [COMPLETELY]
The
cmd_prefix
variable is the command prefix that is specified in the AGENTCTL member of the RUNLIB library or the AGENTID parameter value in the AGENTCTL member.
Parameter Description
You can optionally specify the following parameter for this command:
COMPLETELY
Shuts down the PowerExchange Agent address space and deletes the PowerExchange Agent modules and data space from storage. The parameter completely removes the PowerExchange Agent from an MVS system.