Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual522629-013
7-40
INITIALIZER Procedure
INITIALIZER Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The INITIALIZER procedure is used to read the startup message and, optionally, to
request receipt of assign and param messages sent by the starting process (which is
often a TACL process). The INITIALIZER procedure optionally initializes file control
blocks (FCBs) with the information read from the startup and assign messages.
Syntax for C Programmers
Do not call INITIALIZER from a Guardian or OSS C program. You can instead
obtain the startup information from the C run-time. Refer to the
C/C++
Programmer’s Guide for information on how to obtain the startup information from
a Guardian C program.
Syntax for TAL Programmers
Parameters
status returned value
INT
returns one of the following values:
0 This is a primary process (of a potential process pair).
-1 This is a backup process, CHECKMONITOR returned (indicating that the
primary failed before establishing a takeover point), and bit 12 of
flags is 1.
status := INITIALIZER ( [ rucb ] ! i
,[ passthru ] ! o
,[ startupproc ] ! i
,[ paramsproc ] ! i
,[ assignproc ] ! i
,[ flags ] ! i
,[ timelimit ] ! i
,[ num^fcbs ] ! i
,[ fcb^array ] ); ! i