Stopping an agent on z/OS
If you are running a WebSphere® MQ File Transfer Edition agent on z/OS® as a started task from JCL, the agent accepts the z/OS operator commands MODIFY and STOP, in addition to the fteStopAgent command.
Controlled agent shutdown by using the z/OS MODIFY command (F)
The MODIFY command allows you to stop an agent in a controlled way as an alternative to the fteStopAgent command. The agent completes any transfers currently in progress but the agent does not start any new transfers.
For example:F job_name,APPL=STOP
where job_name is
the job that the agent process is running under. See Starting an agent on z/OS and Using WebSphere MQ
File Transfer Edition commands
from JCL for more information.Immediate agent shutdown by using the z/OS STOP command (P)
The STOP command is equivalent to an immediate stop by using the fteStopAgent command with the -i parameter. The agent is stopped immediately even if the agent is currently transferring a file.
For example:P job_name
where job_name is
the job that the agent process is running under. See Starting an agent on z/OS and Using WebSphere MQ
File Transfer Edition commands
from JCL for more information.