z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CELQPIPI(call_main) — invocation for main routine

z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
SA38-0689-00

This invocation of CELQPIPI invokes as a main routine the routine that you specify.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-CALL--CELQPIPI--(--call_main--,--ceexptl_index--,--token--,-->

>--runtime_opts--,--parm_ptr--,--enclave_return_code--,--------->

>--enclave_reason_code--,--appl_feedback_code--)---------------><

call_main (input)
A fullword function code (integer value = 2) containing the call_main request.
ceexptbl_index (input)
A doubleword containing the row number within the PreInit table of the entry that should be invoked. The index starts at 0.
token (input)
A doubleword with the value of the token returned by CELQPIPI(init_main) when the common run-time environment is initialized. The token must identify a previously preinitialized environment that is not active at the time of the call.
runtime_opts (input)
A fixed-length 255-character string containing runtime options. (See z/OS Language Environment Programming Reference for a list of runtime options that you can specify.)
parm_ptr (input)
A doubleword containing the address of the parameter list or 0 (zero). The parameter list is copied to the appropriate location in the stack frame and general purpose registers 1, 2 and 3 are loaded from the parameter list when the main routine is executed. The parameter list that is passed must be in a format that HLL subroutines expect (for example, in an argc, argv format for C routines).
enclave_return_code (output)
A fullword containing the enclave return code returned by the called routine when it finished executing. For more information about return codes, see Managing return codes in Language Environment.
enclave_reason_code (output)
A fullword containing the enclave reason code returned by the environment when the routine finished executing. For more information about reason codes, see Managing return codes in Language Environment.
appl_feedback_code (output)
A 128-bit condition token indicating why the application terminated.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014