Dependent Job Control function
Purpose
To provide control over the order of execution of jobs that depend on the completion of other jobs.
Function identifier
DJC
Dependencies
DJC application
Description of usage
DJC allows users to control the order of execution of jobs that depend on the completion of other jobs. They can use JECL to organize jobs that depend on each other into DJC Groups, and control the order of execution of jobs within a DJC Group. A DJC dialog under ISPF allows users to display and modify DJC Groups, DJC Events, and jobs in DJC Groups.
DJC provides several commands to display and control DJC Groups and jobs.
To display DJC jobs
This results in a display of all DJC jobs:
Job DQC021A in BENCH.D016 Waiting SUBMISSION
Job32158 DJC021 in BENCH.D016 Ended Mar 12 11:52:17
Job32160 DJC021B in BENCH.D016 Flushed (Cancel)
Job32371 DJC024 in BENCH.D018 Ended S(806) Mar 14 15:26:38
...
To display jobs in a DJC group
This command requests a display of all held jobs for a specific DJC Group:
/DJC DISPLAY GROUP PBC HELD
This results in a display similar to this:
Job DQC021A in BENCH.D016 Waiting SUBMISSION
Job32158 DJC021 in BENCH.D016 Ended Mar 12 11:52:17
Job32160 DJC021B in BENCH.D016 Flushed (Cancel)
Job32371 DJC024 in BENCH.D018 Ended S(806) Mar 14 15:26:38
...
To display information about a specific job
This command requests a display of information about a job:
The resulting display shows the DJC dependencies for the job, as well as their status:
Job03298 COS003 in COS.WEEK1 Executing
- RUNIF %COSSIG CODE EQ 10 (T) Prev
In the line showing the DJC dependencies:
• (T) indicates that the signal %COSSIG has been set to the code 10 by another job in the DJC Group.
• Prev indicates that the signal %COSSIG had been set to the code 10 at the time it was evaluated for job 3298, but has since been altered by another job in the DJC Group and might no longer have this value.
To display events
This command displays all DJC events:
Event %COSSIG in COS001
Event %READY in DBMAINT
Event %ITSDONE in PR06WEEK
...
You can also display the details for Events:
The display looks similar to:
Event %OVER in ACC1790T
- has a RUNIF from ACC1700T
To hold a job
To release a job
To hold a DJC group
To release a DJC group
To remove a job from DJC management
To delete the history for a DJC group
DJC command summary
Command Name | Purpose |
---|---|
DJC [? | HELP] | Displays all the commands available with the DJC function. |
DJC CLOSE | Allows you to close a DJC Group. |
DJC DELETE | Deletes DJC history data for the specified DJC Group. |
DJC DISPLAY | Displays information about the current state of DJC and jobs managed by DJC. |
DJC HOLD | Requests a user hold for a job managed by DJC or for a DJC Group. |
DJC PURGE | Purges a job managed by DJC from DJC management. |
DJC RELEASE | Releases a job or DJC Group that was previously held by a /DJC HOLD command. |
DJC SET | Allows an operator to specify DJC default values. |
DJC SIGNAL | Allows an operator/user to signal an event or completion of jobs. |