View previous topic :: View next topic
|
Author |
Message |
manoopatil
New User
Joined: 07 Dec 2003 Posts: 56 Location: Montreal
|
|
|
|
Hi,
My requirement is a job should start execution at 2:28 PM on 15/01/2009.
I have JES3 in my shop. Hence I used the Deadline Scheduling parameter for JES3 in the following way.
And I submitted the job at 2:10 PM. However the job completed right away without waiting till 2:28 PM.
What should I do to make sure that the job starts only at the time mentioned DEADLINE parameter.
Code: |
//TSBQLFN3 JOB (BQEM),'N S,NOTIFY=&SYSUID,MSGCLASS=7
//*---------------------------------------------------------*
//* SYNCSORT *
//*---------------------------------------------------------*
//*MAIN DEADLINE=(1428,A,011509) |
Regards
-Manohar |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I don't think JES3 deadline scheduling does what you think it does. From SA22-7551, JES3 Introduction:
Quote: |
Deadline scheduling is a way of scheduling jobs by time of day or by week, month, or year. Job priorities remain in force, but as deadlines approach, JES3 increases the priorities, thereby increasing the likelihood the jobs will be processed before a certain deadline.
System programmers must prepare for deadline scheduling with JES3 initialization statements that tell when a priority is to be increased, and by how much. Then application programmers can put deadlines on JES3 control statements they include with the jobs. |
Your job met its deadline -- it was complete by 1428. JES3 deadline scheduling (which I've never used so I'm relying on the manual) is a way of increasing the request priority on the input queue to allow the job to be done by the deadline. There's nothing in the manual about the job not starting until the deadline. |
|
Back to top |
|
|
manoopatil
New User
Joined: 07 Dec 2003 Posts: 56 Location: Montreal
|
|
|
|
Thank you Robert!
I understand its unlikely, still If anybody has some idea of starting a job at specified time thru JCL itself, it will be of great help!
Regards
-Manohar |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I found a reference to submitting the job in a hold queue, or with very low priority, and using DEADLINE to bump the priority to get the job run. However, a lot of shops use job class to control priority and therefore could not use DEADLINE anyway. |
|
Back to top |
|
|
sanjuhk
New User
Joined: 14 Dec 2009 Posts: 2 Location: India
|
|
|
|
can any one help me on the same problem . //*MAIN DEADLINE : JOB NOT WAITING TILL DEADLINE |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Did you not read my earlier post? //*MAIN DEADLINE does not force the job to wait until the deadline to start, it tells JES to increase the priority of the job as the deadline gets closer to force it to COMPLETE by the deadline. If you want a job to not start until the deadline, use your scheduling system. |
|
Back to top |
|
|
|