Guardian Procedure Calls Reference Manual

These procedures must be of the form:
PROC name ( [ rucb ]
,[ passthru ]
,[ message ]
,[ msglen ]
,[ match ] )
VARIABLE;
rucb
INT:ref:*
is the run-unit control block described in the Guardian Programmer's Guide.
passthru
INT:ref:*
is an array where the procedure can save information for or retrieve information from the caller
of INITIALIZER.
message
INT:ref:*
is the startup message, the param message, or one of the assign messages received. The
maximum length of a message is 1028 bytes (including the trailing null characters).
msglen
INT:value
is the length, in bytes, of the message.
match
INT:value
is the match count. For each assign message, the FCBs (if rucb is passed) are searched for a
logical file name matching the logical file name contained in the assign message. If a match
is found, the information from the assign message is put into the FCBs, and the match count is
incremented.
If this is not an assign message or if the rucb parameter is not passed, the match count is
always 0.
flags
input
INT:value
contains several fields that determine actions to be taken by INITIALIZER, as follows:
Must be 0.<0:10>
Request assign and param messages? 0 = yes, 1 = no.<11>
Abnormally end if backup takeover occurs before first primary stack checkpoint? 0 = yes, 1 = no.<12>
If 1, CALL MONITORNET (-1).<13>
If 1, CALL MONITORCPUS (-1).<14>
If 1 and the caller is a TNS Guardian process, CALL ARMTRAP (-1,-1).<15>
If 1 and the caller is a native Guardian process, CALL SIGACTION_INIT_ ( SIG_ABORT ).
The default value is 0.
INITIALIZER Procedure 727