View previous topic :: View next topic
|
Author |
Message |
SanthamoorthyRajamani
New User
Joined: 06 Nov 2008 Posts: 10 Location: Chennai
|
|
|
|
Hi,
I have submitted five jobs with the same JOB name thru INTRDR utility from one ps file. The jobs ids are assgned correctly.
JOBNAME JobID
TESTJOBS JOB00001
TESTJOBS JOB00002
TESTJOBS JOB00003
TESTJOBS JOB00004
TESTJOBS JOB00005
But the jobs are running in the following way.
JOBNAME JobID WPos
TESTJOBS JOB00001 4
TESTJOBS JOB00002 2
TESTJOBS JOB00003 1
TESTJOBS JOB00004 0
TESTJOBS JOB00005 3
I need to execute the job in same order how the job-id was created.
JOBNAME JobID WPos
TESTJOBS JOB00001 1
TESTJOBS JOB00002 2
TESTJOBS JOB00003 3
TESTJOBS JOB00004 4
TESTJOBS JOB00005 5
Is there any way to execute the job in above order, Please give me a suggestion. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
ask Your support
options ( to be enabled by your support )
a dedicated class ( only one initiator )
a change to the jes2 parameters to have only one converter task
rough event sequence approximation
job is beng read thru the internal reader
job is being converted to the internal text format
job is flagged as ready to be executed
if the converter is single thread the execution sequence will be the same as the read/submit sequence
if the converter tasks are more than one
the moment where a job will be in the ready queue depends on the job' complexity
tested !
two converter tasks
one large job
4, smaller jobs
all the 4 smaller got scheduled before the large one
search the forum, the issue has been discussed a few times |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
SanthamoorthyRajamani wrote: |
Is there any way to execute the job in above order |
Yes, no, maybe - depends on your site set-up, as Enrcio said. At my shop we can not submit more than five "parallel" jobs from a given RACF ID - what sueestion can you have to avoid this, probabaly nothing which would work at my site.
However, for your case, it seems if you "trigger" the jobs the way you need can be one of the choices -- that is, which job you want to complete first, trigger it first, after successful completion of this first job trigger the job you want to complete second and so on . . . |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Controlling job execution sequence is site specific to a large degree. You can force them to execute in the desired order by adding a step to the end of job 1 to submit job 2 into the internal reader and so forth, then submitting only job 1; if you have to submit all 5 at once this method won't work and you must consult your site support group. |
|
Back to top |
|
|
SanthamoorthyRajamani
New User
Joined: 06 Nov 2008 Posts: 10 Location: Chennai
|
|
|
|
Thanks a lot Anuj & enrico.
I will check with our mainframe support team for this.
In our system we can submit n-number of jobs at a time with the same name. Mean time as you suggersted will modify our job to submit after the completion of prior job. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You're welcome, please keep us posted with the final solution . . .
Have a good one . . . |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Have you tried coding relevant /*PRIORITY cards in the JCL. As long as you can make sure the first job goes through conversion first this could fix your problem. Assuming your sysprogs have not tweaked the system too much |
|
Back to top |
|
|
|