Stopping a running program

You can use the STOP command to stop a running program when that program was designed to listen for the STOP command. If the program does not recognize the input specified on the STOP command, MVS™ issues message IEE342I STOP REJECTED--TASK BUSY.

Note to Programmers: For more information, see the topic on communicating with a program using EXTRACT and QEDIT in z/OS MVS Programming: Authorized Assembler Services Guide.
 
P [jobname.]identifier[,A=asid]