Processing modes
Processing states or modes for activities can be active, canceling, complete, dormant, or initial. These modes describe the current state of an activity.
An activity is always in one of the following processing
states or modes:
- ACTIVE
- An activation of the activity is running.
- CANCELLING
- CICS is waiting to cancel the activity. A CANCEL ACTIVITY command has been issued, but CICS cannot cancel the activity immediately because one or more of the descendants of the activity are inaccessible. For example, if one of the children of the activity holds a retained lock.
- COMPLETE
- The activity has completed, either successfully or unsuccessfully. The value returned on the COMPSTATUS option of a CHECK ACTIVITY command tells you how it completed.
- DORMANT
- The activity is waiting for an event to fire its next activation.
- INITIAL
- No RUN or LINK command has yet been issued against the activity; or the activity has been reset to its initial state with a RESET ACTIVITY command.
Figure 1 is a (slightly simplified)
view of how the processing modes relate to each other. The BTS commands
that cause an activity to move from one mode to another are shown
in uppercase.
Use the CHECK ACTIVITY or INQUIRE ACTIVITYID command to determine the current mode of an activity.