The events that can occur and their sequence are as follows:
- Event-job-ready, followed by one of:
-
Event-job-flushed
-
Event-job-JCL-error
- Event-job-started, followed by (for each step in the job, one or more times):
- Event-step-ready, followed by one of
-
Event-step-bypassed
- Event-step-started, followed by:
- Event-before-PGM-call, followed by any combinations of:
- For each CALL command (zero or more times):
-
Event-CALL-ready
- Event-CALL-started, followed by:
-
Event-before-PGM-call
-
Event-after-PGM-call
-
Event-CALL-ended
- For each DSNRUN subcommand (zero or more times):
-
Event-RUN-ready
- Event-RUN-started, followed by:
-
Event-before-PGM-call
-
Event-after-PGM-call
-
Event-RUN-ended
-
Event-after-PGM-call
-
Event-job-ended