SET TRANSACTION
      
    
        
            | COBOL | Java | 
    
    
        
            | EXEC CICS SET TRANSACTION | ibmCics.setTransaction | 
    
Syntax
ibmCics.setTransaction(new setTransactionOptions()
  .transaction(<Transaction>)
  .status(<Status>)
  [.noHandle(true)]
);
Parameter(s)
<Transaction>
The name of the transaction.
<Status>
Set the status of the transaction to DISABLED by entering 24 or ENABLED by entering 23.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
    
        
            | COBOL | Java | 
    
    
        
            | 
EXEC CICS
    SET TRANSACTION(WS-TRANSACTION)
        STATUS(24)
        NOHANDLE
END-EXEC.
                 | 
ibmCics.setTransaction(new SetTransactionOptions()
  .transaction(locDef.ws_Transaction.getStrValue())
  .status(24)
  .noHandle(true)
);
                 |