Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual522629-013
7-44
INITIALIZER Procedure
Assign and param messages
Except when invoked by the backup process of a process pair, INITIALIZER reads
the startup message, then optionally requests assign and param messages (see
flags.<11>. 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 file’s FCBs, and the match count is incremented.
For proper matching of names, the “progname” and “filename” fields of the assign
message must be blank-padded.
Note that you can perform your own processing of these messages using
startupproc, assignproc, and paramproc irrespective of whether you use
FCBs.
Calls to ABEND
INITIALIZER calls the ABEND procedure for any errors it detects. If INITIALIZER
does call ABEND, text describing the cause of the call is passed in the process
deletion (ABEND) system message. The possible causes are:
Timeout reading $RECEIVE.
Invalid value specified for the timelimit parameter.
Unable to open $RECEIVE.
Unable to obtain process handle.
Unexpected message from the creator process.
In the backup process of a process pair, CHECKMONITOR returned and bit 12
of
flags was equal to zero.
The number of FCBs specified in ALLOCATE^CBS, ALLOCATE^CBS^D00, or
num^fcbs is incorrect, or the format of an FCB is invalid.
For further information about the text that is passed in the process deletion
(ABEND) system message, refer to “INITIALIZER Errors” in the
Guardian
Procedure Errors and Messages Manual.
FCBs and native mode
In native mode, you must use the
num^fcbs and fcb^array parameters to
explicitly reference any FCBs that INITIALIZER modifies, for example, using file
names supplied in the Startup, ASSIGN, or PARAM messages.
Related Programming Manual
For programming information about the INITIALIZER utility procedure, refer to the
Guardian Programmer’s Guide.