BPX4KIL (kill) example

The following code sends a signal (SIGUSR1) to all processes for which access is allowed in the invoker's process group. For the callable service, see kill (BPX1KIL, BPX4KIL) — Send a signal to a process. For the data structure, see BPXYSIGH — Signal constants. AMODE 31 callers use BPX1KIL (kill) example.
                                              
         MVC   PROCID,=A(0)          Invoker's process group            
         CALL  BPX4KIL,              Send a signal to a process        +
               (PROCID,              Input: Process ID                 +
               =A(SIGUSR1#),         Input: Signal            BPXYSIGH +
               =A(0),                Input: Signal options             +
               RETVAL,               Return value: 0 or -1             +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               MF=(E,PLIST)          ----------------------------------