LOAD
| COBOL |
Java |
| EXEC CICS LOAD |
ibmCics.load |
Syntax
ibmCics.load (new LoadOptions()
.program(<Program>)
[.progLength(<ProgLength>)]
[.set(<Set>)]
[.noHandle(true)]
[.retCode(<RetCode>)]
);
Parameter(s)
<Program>
The name of the program to be loaded.
<Length>
Optional length of the program.
<Set>
Pointer variable that will receive the address of the program.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
<RetCode>
The structure variable to receive the return code from the LOAD command. The variable is a structure containing the following five 1-word fields:
eibresp, eibresp2, abcode, msglen and msgptr.
Example(s)
| COBOL |
Java |
EXEC CICS
LOAD
PROGRAM('MYPROG')
SET(ADDRESS OF WS-PROG-PTR)
END-EXEC.
|
ibmCics.load(new LoadOptions()
.program("MYPROG")
.set(locDef.ws_Prog_Ptr)
);
|