AMT Help Files
Home Development Command Translation CICS Commands RECEIVE

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)]
);

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.
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.

Example(s)

COBOL Java
EXEC CICS
    RECEIVE
        INTO(WS-DATA)
        LENGTH(512)
END-EXEC.
                
ibmCics.receive(new ReceiveOptions()
  .into(locDef.ws_Data)
  .length(512)
);
                

Contents

 Go to top