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.
P [jobname.]identifier[,A=asid]