AMT Help Files
Home Development Command Translation CICS Commands WRITE OPERATOR

WRITE OPERATOR

COBOL Java
EXEC CICS WRITE OPERATOR ibmCics.writeOperator

Syntax

ibmCics.writeOperator(new WriteOperatorOptions.Builder()
  .text(<Text>)
  [.textLength(<TextLength>)]
  [.noHandle(true)]
  .build());

Parameter(s)

<Text>
The message to be sent to.
<TextLength>
Optional length of the message.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.

Example(s)

COBOL Java
EXEC CICS
    WRITE OPERATOR
        TEXT('Hello World')
        TEXTLENGTH(50)
        NOHANDLE
END-EXEC
                
ibmCics.writeOperator(new WriteOperatorOptions()
  .text("Hello World")
  .textLength(50)
  .noHandle(true)
);
                

Contents

 Go to top