RECEIVE
| COBOL |
Java |
| EXEC CICS RECEIVE |
ibmCics.receive |
Syntax
ibmCics.receive(new ReceiveOptions()
.into(<Into>)
.length(<Length>)
[.maxLength(<MaxLength>)]
[.noTruncate(true)]
[.noHandle(true)]
[.asIs(true)]
[.buffer(true)]
);
Parameters
- <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 won't be truncated.
- noHandle
- Optional Boolean. If set to true, exceptions created by this command will be ignored.
- asIs
- Optional Boolean. If set to true, data will be received as-is without conversion to uppercase.
- buffer
- Optional Boolean. If set to true, buffer data will be read.
Examples
| COBOL |
Java |
EXEC CICS
RECEIVE
INTO(WS-DATA)
LENGTH(512)
END-EXEC.
|
ibmCics.receive(new ReceiveOptions()
.into(locDef.ws_Data)
.length(512)
);
|