next up previous contents
Next: STDOUT/STDERR Up: JDF Fields Previous: NUMPROC   Contents

DEPEND

The DEPEND field contains a dependency string that specifies any dependencies that this section has on other sections. Using dependencies allow for conditional running of certain job sections. The valid conditions that may be supplied are: Simple logical expressions can be combined using parenthesis and the following logical operations:

  OR  - ||
  AND - &&
  NOT - ~,!
An example follows.

   DEPEND=done(stepA) && (done(stepB) || !started(stepC))

The dependencies in a JDF file determine the order in which sections are executed. At least one section in the JDF must not have a dependency. It is not important to order the sections in the JDF file, FBSNG will automatically determine a valid ordering that satisfies the dependencies. If two sections can run independently of each other, then the ordering of submission to the batch system will be determined by the order in which the sections are defined in the JDF file provided that the needed resources for that section are available.


next up previous contents
Next: STDOUT/STDERR Up: JDF Fields Previous: NUMPROC   Contents
FBSNG Home