The second activation of the Confirm activity

The Confirm activity is activated for a second, and final, time by the RUN ACQACTIVITY command issued by USRCON.

On its second activation, CON001:
  1. Establishes why it has been invoked.
  2. Merges the contents of the two input data-containers, Delivery and User , supplied by SAL002 and USRCON.
  3. Stores the updated delivery details into the output data-container of the Confirm activity ( Confirm).
See Figure 1. Finally, CON001 does some clean-up work. It:
  1. Deletes the entry from the pending file.
  2. Deletes the input event defined on its previous invocation. This is not strictly necessary, because the event would be deleted automatically by CICS on the execution of the RETURN ENDACTIVITY command that follows.
  3. Issues an EXEC CICS RETURN ENDACTIVITY command to indicate that its processing is complete; the completion event of the Confirm activity ( Delivry-Confirmed ) is fired.

CICS notes completion of the Confirm activity and reattaches the root activity, because of the firing of the Delivry-Confirmd completion event defined by SAL002. After the execution of the CHECK ACTIVITY command issued by SAL002, CICS deletes the completion event of the Confirm activity.



dfhp9c0046.html | Timestamp icon Last updated: Monday, 5 June 2017