GETMAIN
| COBOL |
Java |
| EXEC CICS GETMAIN |
ibmCics.getMain |
Syntax
ibmCics.getMain(new GetMainOptions.Builder()
.set(<Set>)
.length(<Length>)
[.initImg(<InitImg>)]
[.noHandle(true)]
.build());
Parameter(s)
<Set>
Pointer variable holding the storage location.
<Length>
Length is the number of bytes of required storage.
<InitImg>
Optional variable. If set, it will be used as an initial value with which the storage will be filled.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
GETMAIN
SET (ADDRESS OF PTR)
LENGTH(2048)
INITIMG(WS-INITIMG)
END-EXEC.
|
ibmCics.getMain(new GetMainOptions.Builder()
.set(locDef.ptr)
.length(2048)
.initImg(locDef.ws_Initimg)
.build());
|