The invocation of this routine:
- Creates and initializes a new common run-time environment (process) that allows the
execution of main routines multiple times
- Sets the environment dormant so that exceptions are percolated
out of it
- Returns a token identifying the environment to the caller
- Returns a code in Register 15 indicating whether an environment
was successfully initialized
Syntax
>>-CALL--CELQPIPI--(--init_main--,--ceexptbl_addr--,------------>
>--service_rtns--,--token--)-----------------------------------><
- init_main (input)
- A fullword function code (integer value = 1) containing the
init_main request.
- ceexptbl_addr (input)
- A doubleword containing the address of the PreInit table to
be used during initialization of the new environment. Language Environment does not
alter the user-supplied copy of the table. If an entry address is
zero and the entry name is non-blank, Language Environment searches for the routine
and dynamically loads it. Language Environment places the entry address in the corresponding
slot of a Language Environment-maintained table.
- service_rtns (input)
- A 64-bit pointer containing the address of the service routine
vector or 0, if there is no service routine vector. See Service routines for more information.
- token (output)
- A doubleword containing a unique value used to represent the
environment.
The token should be used only as input to
additional calls to CELQPIPI, and should not be altered or used in
any other manner.