RECEIVE
| COBOL |
Java |
| EXEC CICS RECEIVE |
ibmCics.receive |
Syntax
ibmCics.receive(new ReceiveOptions()
.into(<Into>)
.length(<Length>)
[.maxLength(<MaxLength>)]
[.noTruncate(true)]
[.noHandle(true)]
);
Parameter(s)
<Into>
The data area into which the data is to be written.
<Length>
Length of the data.
<MaxLength>
Optional Maximum length of the data.
noTruncate
Optional Boolean. If set to true, data longer than the requested length will not be truncated.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
RECEIVE
INTO(WS-DATA)
LENGTH(512)
END-EXEC.
|
ibmCics.receive(new ReceiveOptions()
.into(locDef.ws_Data)
.length(512)
);
|