Hi! All,
If you have 3 different jobs in one window which one will run first. Does all three jobs run parallel or will they run in the order they are.
For example: In one window one job creates a flat file with the header row and second job will append the detail to the headerfile and third will append the trailer to the same flatfile.
If they run in parallel, is there anyway that we can make them to work one after the other instead of creating 3 new jobs.
thanks,
Execution order of the jobs
Moderators: chulett, rschirm, roy
Re: Execution order of the jobs
There's no defined order.
You have to make a schedule job (either in BASIC or as a sequencer) to run the jobs in sequence. And then start this job which will control the execution of the other jobs
Alternatively you can start the jobs up in order via dsjob in a UNIX script.
All methods have been thoroughly discussed before.
Ogmios
You have to make a schedule job (either in BASIC or as a sequencer) to run the jobs in sequence. And then start this job which will control the execution of the other jobs
Alternatively you can start the jobs up in order via dsjob in a UNIX script.
All methods have been thoroughly discussed before.
Ogmios
Ok.. what do you mean by "three jobs in one window"?
If that means three Job Activity stages in a Sequencer job that are not linked together, then yes they will run in parallel.
To enforce an order, you need to link them together - in the proper order, of course. The 'triggers' between the jobs will allow you to check the completion status of one before moving on to the next.
If that means three Job Activity stages in a Sequencer job that are not linked together, then yes they will run in parallel.
To enforce an order, you need to link them together - in the proper order, of course. The 'triggers' between the jobs will allow you to check the completion status of one before moving on to the next.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers