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

  1. Function (partition initialization)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of a double-word into which Language Environment saves its partition token
  6. Address of a fullword containing the length of the EIB
  7. Address of a fullword into which Language Environment saves the length of the thread work-area required for Language Environment programs
  8. Address of a fullword into which Language Environment saves the Language Environment Interface Level number
  9. Address of a pointer to the CICS Get CAA module DFHGCAA
  10. Address of a pointer to the CICS Set CAA module DFHSCAA
  11. Address of the LANGDEF area
  12. 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
  13. Address of the service routine vector table.

Partition termination

  1. Function (partition termination)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token.

Thread initialization

  1. Function (thread initialization)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of a double-word into which Language Environment saves its thread token
  7. Address of Language Environment Thread Work-area
  8. Address of pgminfo1
  9. Address of pgminfo2
  10. Address flagword.

Thread termination

  1. Function (thread termination)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. address of Language Environment thread token.

Run-unit initialization, Run-unit initialization and begin invocation

  1. Function (run-unit initialization)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token
  7. Address of Language Environment run-unit token
  8. Address of pgminfo1
  9. Address of pgminfo2.
  10. Address of ioinfo.
  11. 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

  1. Function (run-unit begin invocation)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token
  7. Address of Language Environment run-unit token
  8. Address of pgminfo1
  9. Address of pgminfo2
  10. Address of ioinfo

Run-unit end invocation

  1. Function (run-unit end invocation)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token
  7. Address of Language Environment run-unit token
  8. Address of pgminfo1
  9. Address of pgminfo2
  10. Address of celinfo.

Program check recovery

  1. Function (program check recovery)
  2. Address of reason code
  3. Address of celinfo
  4. Address of 240-byte work-area for use by Language Environment

Run-unit termination

  1. Function (run-unit termination)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token
  7. Address of Language Environment run-unit token.

Establish ownership type

  1. Function (establish ownership type)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Reserved
  7. Reserved
  8. Address of pgminfo1
  9. Address of pgminfo2.

Determine working storage

  1. Function (determine working storage)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token for the user transaction
  7. Address of Language Environment run-unit token for the user transaction
  8. Address of the Language Definition bits
  9. Address of the user program's register save area
  10. Address of a fullword into which Language Environment saves the address of the user program's working storage
  11. Address of a fullword into which Language Environment saves the length of the user program's working storage
  12. Address of a fullword into which Language Environment saves the address of the user program's static storage
  13. Address of a fullword into which Language Environment saves the length of the user program's static storage
  14. Address of a fullword into which Language Environment saves the entry point of the program
  15. 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

  1. Function (perform Goto)
  2. Address of reason code
  3. Address of system EIB
  4. Address of 240-byte work-area for use by Language Environment
  5. Address of Language Environment partition token
  6. Address of Language Environment thread token for the user transaction
  7. Address of Language Environment run-unit token for the user transaction
  8. Address of the Language Definition bits
  9. Address of the label argument of the Handle command
  10. Address of the user's RSA reflecting the registers at the last EXEC CICS command
  11. Address of a fullword into which Language Environment may set the Cross-Call error flag
  12. Address of a field holding the abend code from the TACB
  13. Address of a field holding the value of Register 13 at the time of the abend.


dfhs6_ap_1940_parms_langenv.html | Timestamp icon Last updated: Monday, 5 June 2017