AMT Help Files
Home Development Command Translation CICS Commands ABEND

ABEND

COBOL Java
EXEC CICS ABEND ibmCics.abend

Syntax

ibmCics.abend ();

With Abend options:

ibmCics.abend (new AbendOptions.Builder()
  [.abendCode(<abendCode>)]
  [.cancel(true)]
  .build());

Parameter(s)

<abendCode>
An optional custom code to be displayed as the transaction ends abnormally.
cancel
A Boolean option to specify that exits established by HANDLE ABEND commands are ignored.

Example(s)

COBOL Java
EXEC CICS
    ABEND 
        ABCODE('BCDE')
        CANCEL
END-EXEC.
                
ibmCics.abend(new AbendOptions.Builder()
  .abendCode("BCDE")
  .cancel(true)
  .build());
                

Contents

 Go to top