AMT Help Files
Home Development Command Translation CICS Commands SEND

SEND

COBOL Java
EXEC CICS SEND ibmCics.send

Syntax

ibmCics.send(new SendOptions()
  .from(<From>)
  [.length(<Length>)]
  [.cursor(<Cursor>)]
  [.sendOptions(EnumSet.of(<CicsSendOption>))]
  [.noHandle(true)]
);

Parameters

<From>
The data area from which the data is taken.
<Length>
Optional length of the data to be sent.
<Cursor>
Optional value for the cursor position.
<sendOptions>
One or more send options as EnumSet, see the CicsSendOption enum for all available options. Includes CURSOR, FREE_KEYBOARD, ERASE and others.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.

Examples

COBOL Java
EXEC CICS
        SEND
            FROM(WS-DATA)
            LENGTH(512)
END-EXEC.
                
ibmCics.send(new SendOptions()
  .from(locDef.ws_Data)
  .length(512)
);
                

Contents

 Go to top