AMT Help Files
Home Development Command Translation CICS Commands XCTL

XCTL

COBOL Java
EXEC CICS XCTL ibmCics.xctl

Syntax

ibmCics.xctl (new XctlOptions.Builder()
  .program(<Program>)
  [.commArea(<CommArea>)]
  [.dataLength(<DataLength>)]
  [.inputMsg(<InputMsg>)]
  [.inputMsgLen(<InputMsgLen>)]
  [.noHandle(true)]
  [.channel(<Channel>)]
  .build());

Parameter(s)

<Program>
The program to transfer control to.
<CommArea>
The communication area.
<DataLength>
The length of the communication area.
<InputMsg>
The input message to be sent to the invoked program.
<InputMsgLen>
The length of the input message.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Channel
The name of the channel made available to the invoked program.

Example(s)

COBOL Java
EXEC CICS
    XCTL
        PROGRAM  ('START')
        COMMAREA (CUSTCOMMAREA)
        LENGTH   (256)
END-EXEC.
                
ibmCics.xctl(new XctlOptions.Builder()
  .program("START")
  .commArea(locDef.custcommarea)
  .dataLength(256)
  .build());
                

Contents

 Go to top