Activity completion

An activity completes normally when it returns with no user events in its event pool.

When an activity issues an EXEC CICS RETURN command (without the ENDACTIVITY option):
  1. If the activity has correctly dealt with at least one reattachment event during its current activation (see Handling reattachment events ):
    If there are events on the reattachment queue
    The activity is immediately reactivated to deal with the fired events.
    If there are no events on the reattachment queue
    If there are user events in the event pool
    The activity becomes dormant until a reattachment event occurs.
    If there are no user events in the event pool
    The activity completes normally.
  2. If the activity has not correctly dealt with at least one reattachment event during its current activation, it abends.


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