Previous Topic: About the CICS Notification Transaction

Next Topic: DCB ABEND Exit Software


Code the CICS Notification Transaction

The transaction that processes CA XCOM Data Transport notifications must conform to certain opening and closing logic rules. For a sample CICS transaction, see CAI.CBXGSAMP(XCOMSAMP).

To code the CICS notification transaction.

  1. Perform a CICS RECEIVE to obtain the message that the CA XCOM Data Transport server sent. This message is a copy of the CA XCOM Data Transport history record describing the transfer that the HSTDSECT macro mapped. A 16‑byte header precedes the record and can be ignored. Make sure that your work area is large enough to accommodate the history record and the header. Check sample XCOMSAMP for recommendations. A command example:
    EXEC CICS RECEIVE
    
  2. Check the confirm indicator in the CICS execute interface block. If it is set to X'FF', then issue a CICS CONFIRM. A commands example:
    IF DFHCONF = HIGH‑VALUES THEN
    
    EXEC CICS SEND CONFIRM
    
  3. Deallocate the conversation with CA XCOM Data Transport:
    EXEC CICS FREE	
    
  4. Do whatever application processing you wish.
  5. End the program:
    EXEC CICS RETURN