Storage for the transaction
A set of work areas is required during the lifetime of any task that includes one or more programs supported by Language Environment. This set is known as the “language interface work area”.
- The largest possible Language Environment interface parameter list (currently 15 parameter elements, but with space allowed for a further three elements)
- A general-purpose register save area for use by DFHAPLI
- A general-purpose register save area for use by Language Environment
- A 240-byte special work area for use by Language Environment as the equivalent of DFHEISTG for CICS
- A 4-byte Language Environment reason code field
- The IOINFO area (see IOINFO)
- The PGMINFO1 area (see PGMINFO1)
- The program termination block (see Program termination block).
- Gets from the transaction manager the address of the transaction-related instance data.
- Flags the data to tell the transaction manager that the transaction runs Language Environment application programs.
- Adds the length of the language interface work area to the total user storage length for that transaction.
Further areas known as run-unit work areas (RUWAs) are required at run time if the transaction includes one or more programs that use Language Environment. The length of an RUWA varies for each program. The lengths required for work areas above and below the 16MB line by Language Environment are notified to CICS during the processing to establish ownership type for that program; thereafter they can be found in the program’s installed resource definition. CICS adds to the length for the RUWA above the 16MB line a fixed amount for its own purposes before acquiring the storage.