The Depends Statement
Multiple job blocks can be included in a single PDS file, and by default, they run sequentially. It is also possible to define jobs that run other jobs that require the completion or failure of the current job using the depends statement. depends is used within a job block, and defines if another job after the current job in the PDS file must run either on the completion or failure of the current job. For example, the following code within a job runs firstjob if the current job succeeds, secondjob if it fails, and thirdjob in either case:
depends
firstjob succeeds
secondjob fails
thirdjob succeeds or fails
end
You can also run the pdriver command with the -parallel flag to run multiple jobs in one PDS file in parallel.