JBDEP, JBPRE and JBSUC – Dependencies

JBDEP is not a supported statement for JBSTART, because JBSTART allows dependencies in both directions. JBDEP is replaced by JBPRE to define predecessors and by JBSUC to define successors.

Both JBPRE and JBSUC have a suffix of either -INT or -EXT to define whether this was originally an internal or external dependency, as the selection criteria can be managed differently for each by using the INTLINK and EXTLINK keywords of the JBSTART statements respectively.

For example, JBPRE-INT describes an internal predecessor, and JBSUC-EXT describes an external successor.

Both JBPRE and JBSUC have a positional first argument of the job name of the dependency. If the operation being referred to has no job name, then -BLANK is presented by LISTJOB. If the operation being referred to does not exist -MISSING is presented by LISTJOB.

For JBPRE, the remaining keywords are identical to ADDEP. For JBSUC the keywords are similar to ADDEP, with the difference that the PRE prefix is replaced by SUC.