Stop Commands for a Process

A z/OS UNIX process may be stopped in different ways (using escalation passes). For example, you can first use the z/OS UNIX kill command, if that does not work use z/OS UNIX kill -9, and finally enter an MVS cancel command.

Enter the definitions for this example as shown in Figure 1 on the Command Processing panel for the normal shutdown phase of the resource (via its SHUTDOWN policy item).

Figure 1. Stop Definitions for a Process
 Cmd Ps AutoFn/* Command Text                                                   
     1           INGUSS /bin/kill &SUBSPID                                      
     3           INGUSS /bin/kill -9 &SUBSPID                                   
     4           MVS C &SUBSUSSJOB,A=&SUBSASID                                  

&SUBSPID is replaced at runtime by the real PID of the process.