Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-203
PROCESS_STOP_ Procedure
The pid parameter set to the OSS process ID of the process identified by
processhandle in the PROCESS_STOP_ call
The security rules that apply to stopping an OSS process using
PROCESS_STOP_ are the same as those that apply to the OSS
kill() function.
See the
kill(2) function reference page either online or in the Open System
Services System Calls Reference Manual for details.
Examples
INT stop^option;
.
.
error := PROCESS_STOP_ ( proc^handle ); ! stop the identified
! process (normal
! termination)
stop^option := 1; ! set ABEND flag
error := PROCESS_STOP_ ( , , stop^option ); ! stop self
! (abnormal
! termination)
Related Programming Manual
For programming information about the PROCESS_STOP_ procedure, refer to the
Guardian Programmer’s Guide. For information on batch processing, see the
appropriate NetBatch manual.