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

/DJC DISPLAY JOBS ALLJOBS

This results in a display of all DJC jobs:

DTM6420I DJC DISPLAY
 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:

DTM6420I DJC DISPLAY
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:

/DJC DISPLAY JOB 3298

The resulting display shows the DJC dependencies for the job, as well as their status:

DTM6420I DJC DISPLAY
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

/DJC DISPLAY EVENTS

This command displays all DJC events:

DTM6420I DJC DISPLAY
Event %COSSIG in COS001
Event %READY in DBMAINT
Event %ITSDONE in PR06WEEK
...

You can also display the details for Events:

/DJC DISPLAY EVENT %OVER

The display looks similar to:

DTM6420I DJC DISPLAY
Event %OVER in ACC1790T
- has a RUNIF from ACC1700T

To hold a job

/DJC HOLD JOB 68010

To release a job

/DJC RELEASE JOB 68010

To hold a DJC group

/DJC HOLD GROUP SALES

To release a DJC group

/DJC RELEASE GROUP SALES

To remove a job from DJC management

/DJC PURGE JOB 3413

To delete the history for a DJC group

/DJC DELETE GROUP SALES

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.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*