LOAD command
Fetches an application program, a table, or a map, if there is no copy currently in storage, from the CICS DFHRPL concatenation library where it resides and loads it into main storage. In Smalltalk, the parameters of the LOAD command are contained in two classes: CICSLoad and CICSLoadResult.
See CICS Application Programming Reference for the syntax of the command and a description of its parameters.
Defined instance methods
Parameters supplied to CICS in CICSLoad
| | | | |
ENTRY(ptr-ref) | entry | I/O | Switch | |
HOLD | hold | Input | Switch | |
PROGRAM(name) | program: | Input | Fixed(8) | |
SET(ptr-ref) | set | I/O | Switch | |
Parameters returned by CICS in CICSLoadResult
| | | | |
ENTRY(ptr-ref) | entry | I/O | Variable | |
FLENGTH(data-area) | flength | Output | Binary 32 | |
LENGTH(data-area) | length | Output | Binary 32 | LENGTH is an alias for FLENGTH. |
RESP | resp | Output | Fixed(2) | Inherited from CICSResult. |
RESP2 | resp2 | Output | Fixed(2) | Inherited from CICSResult. |
SET(ptr-ref) | set | I/O | Variable | |
Examples
Example 1
Loads a program and assigns the ENTRY result to x and the FLENGTH result to y.
| result x y |
result := CICS load
program: 'CILOADD1';
set;
exec.
x := result entry.
y := result flength.
Example 2
Loads a program with the HOLD parameter.
| result |
result := CICS load
program: 'CILOADD2';
set;
hold;
exec.
Last modified date: 07/09/2019