Previous Topic: )USS—Event Specifier of USS Rules

Next Topic: Initialization, Processing, and Termination Sections of USS Rules

)USS USSPROCBEG—Event Specifier of USS Process Event Rules

USS process events generate the following USS messages for USS AOF rule processing:

USSPROCBEG DENM44SS 03FD 67108949 SPAWN INIT /bin/onetstat
USSPROCEND DENM44SS 03FD 67108949 SPAWN TERM /bin/onetstat

The data elements in these messages are:

Because USS process events have only two static message IDs, use the following format for coding the USS process event definition section:

)USS USSPROCBEG or USSPROCEND or USSPROC*
)PROC
  IF uss.type <> 'PROCESS' Then Return 0

You should code one USS rule for each message ID. In the USSPROCBEG rule, use the program path name and additional event data to determine if the process is managed by SSM. If so, the current state of the USS resource would be changed to the UP state and the process ID, job name, ASID, and exit timestamp would be added to the data columns of the USS resource for stopping the resource when requested. In the USSPROCEND rule, you can use the same process information to match the USS resource in SSM and set the current state to the DOWN state.