APLJ gate, PIPI_CALL_SUB function
Provides an interface to the Language Environment preinitialization programming interface (PIPI) call_sub function.
Input Parameters
- EXECUTION_KEY
- The execution key used when a program runs in this PIPI environment.
- Values for the parameter are:
- CICS
- USER
- PIPI_CALL_PARAMETERS
- The address of the parameter list to be passed to the called program.
- PIPI_TABLE_INDEX
- The row number in the PIPI table of the program to be called.
- PIPI_TOKEN
- A token returned by Language Environment's init_sub_dp function. The token identifies the PIPI environment, and is used on the PIPI call_sub and term functions.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOOP
- The following values are returned when RESPONSE is EXCEPTION:
- TRANSACTION_ABEND
- The following values are returned when RESPONSE is INVALID:
- INVALID_FUNCTION
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- PIPI_RETURN_CODE
- Optional Parameter
- The return code from the Language Environment function.
- PIPI_SUB_FEEDBACK
- Optional Parameter
- The Language Environment feedback code
- PIPI_SUB_RETURN_CODE
- Optional Parameter
- The Language Environment subroutine return code