RETRIEVE
| COBOL |
Java |
| EXEC CICS RETRIEVE |
ibmCics.retrieve |
Syntax
ibmCics.retrieve(new RetrieveOptions()
[.into(<Into>)]
[.length(<Length>)]
[.set(<Set>)]
[.noHandle(true)]
);
Parameters
- <Into>
- The variable into which the retrieved data is to be written.
- <Length>
- Optional length of the retrieved data.
- <Set>
- Pointer variable containing the address of the retrieved data.
- noHandle
- Optional Boolean. If set to true, exceptions created by this command will be ignored.
Examples
| COBOL |
Java |
EXEC CICS
RETRIEVE
INTO(WS-DATA)
LENGTH(WS-LENGTH)
END-EXEC.
|
ibmCics.retrieve(new RetrieveOptions()
.into(locDef.ws_Data)
.length(locDef.ws_Length.getIntValue())
);
|