Language Environment parameter lists
The parameter list passed to Language Environment depends on the function; the first parameter passed to the Language Environment is the function name.
Partition initialization
- Function (partition initialization)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of a double-word into which Language Environment saves its partition token
- Address of a fullword containing the length of the EIB
- Address of a fullword into which Language Environment saves the length of the thread work-area required for Language Environment programs
- Address of a fullword into which Language Environment saves the Language Environment Interface Level number
- Address of a pointer to the CICS Get CAA module DFHGCAA
- Address of a pointer to the CICS Set CAA module DFHSCAA
- Address of the LANGDEF area
- Address of the ‘language availability' area set by Language
Environment. Flags set by Language Environment in this area that are
of interest to CICS are:
x . . . . . . . ASMINIT - Language Environment supports Assembler . x . . . . . . CINIT - Language Environment supports C . . x . . . . . COBINIT - Language Environment supports COBOL . . . x . . . . PLIINIT - Language Environment supports PL/I - Address of the service routine vector table.
Partition termination
- Function (partition termination)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token.
Thread initialization
- Function (thread initialization)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of a double-word into which Language Environment saves its thread token
- Address of Language Environment Thread Work-area
- Address of pgminfo1
- Address of pgminfo2
- Address flagword.
Thread termination
- Function (thread termination)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- address of Language Environment thread token.
Run-unit initialization, Run-unit initialization and begin invocation
- Function (run-unit initialization)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token
- Address of Language Environment run-unit token
- Address of pgminfo1
- Address of pgminfo2.
- Address of ioinfo.
- Address of runinfo. Runinfo is a fullword containing bits:
- bit 0 - off
- Indicates rununit initialization only
- bit 0 - on
- Indicates combined rununit initialization and begin invocation
- bit 1 - on
- Indicates CICSTS passing a reusable RUWA (allows Language Environment optimization)
Run-unit begin invocation
- Function (run-unit begin invocation)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token
- Address of Language Environment run-unit token
- Address of pgminfo1
- Address of pgminfo2
- Address of ioinfo
Run-unit end invocation
- Function (run-unit end invocation)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token
- Address of Language Environment run-unit token
- Address of pgminfo1
- Address of pgminfo2
- Address of celinfo.
Program check recovery
- Function (program check recovery)
- Address of reason code
- Address of celinfo
- Address of 240-byte work-area for use by Language Environment
Run-unit termination
- Function (run-unit termination)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token
- Address of Language Environment run-unit token.
Establish ownership type
- Function (establish ownership type)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Reserved
- Reserved
- Address of pgminfo1
- Address of pgminfo2.
Determine working storage
- Function (determine working storage)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token for the user transaction
- Address of Language Environment run-unit token for the user transaction
- Address of the Language Definition bits
- Address of the user program's register save area
- Address of a fullword into which Language Environment saves the address of the user program's working storage
- Address of a fullword into which Language Environment saves the length of the user program's working storage
- Address of a fullword into which Language Environment saves the address of the user program's static storage
- Address of a fullword into which Language Environment saves the length of the user program's static storage
- Address of a fullword into which Language Environment saves the entry point of the program
- Address of a fullword into which Language Environment saves the address of a character string, preceded by a length halfword, giving the internal name of the program (currently not supported by CICS).
Perform Goto
- Function (perform Goto)
- Address of reason code
- Address of system EIB
- Address of 240-byte work-area for use by Language Environment
- Address of Language Environment partition token
- Address of Language Environment thread token for the user transaction
- Address of Language Environment run-unit token for the user transaction
- Address of the Language Definition bits
- Address of the label argument of the Handle command
- Address of the user's RSA reflecting the registers at the last EXEC CICS command
- Address of a fullword into which Language Environment may set the Cross-Call error flag
- Address of a field holding the abend code from the TACB
- Address of a field holding the value of Register 13 at the time of the abend.