Guardian Procedure Calls Reference Manual
OSS Considerations
If STEPMOM is used to set the mom of an OSS process, the new mom receives the Guardian
process deletion message when the OSS process terminates. The message indicates that the
terminated process was an OSS process and contains the OSS process ID; otherwise, the message
is the same as one received for a terminating Guardian process.
If the OSS process successfully executes one of the OSS exec or tdm_exec set of functions, a
Guardian process deletion message is sent to the mom. Although the process is still alive in the
OSS environment (the OSS process ID still exists), the process handle no longer exists, so the
process has terminated in the Guardian environment.
The OSS parent process (which is not necessarily the same process as the mom process) also
receives OSS process termination status if the OSS process ID no longer exists. The order of delivery
of the OSS process termination status and the Guardian process deletion message is not guaranteed.
For the format of the Guardian process deletion message, see the Guardian Procedure Errors and
Messages Manual. For details on the OSS process termination status, see the wait(2) function
reference page either online or in the Open System Services System Calls Reference Manual.
Messages
• Process deletion (STOP) message
The caller of STEPMOM receives the process deletion (STOP) system message if the
process-id is being deleted normally because of a call to STOP.
• Process deletion (ABEND) message
The caller of STEPMOM receives the process deletion (ABEND) system message if the
process-id is being deleted abnormally because of a call to ABEND, or because the process
encountered a trap condition or received a process-terminating signal and is being deleted
by the operating system.
Example
CALL STEPMOM ( STEP^SON );
STEPMOM Procedure (Superseded by PROCESS_SETINFO_ Procedure) 1397