Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

//*MAIN DEADLINE : JOB NOT WAITING TILL DEADLINE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Fri Jan 16, 2009 1:07 am    Post subject: //*MAIN DEADLINE : JOB NOT WAITING TILL DEADLINE
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 16, 2009 1:40 am    Post subject:
Reply with quote

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
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Fri Jan 16, 2009 2:12 am    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 16, 2009 2:21 am    Post subject:
Reply with quote

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
View user's profile Send private message
sanjuhk

New User


Joined: 14 Dec 2009
Posts: 2
Location: India

PostPosted: Fri Jan 08, 2010 6:18 pm    Post subject:
Reply with quote

can any one help me on the same problem . //*MAIN DEADLINE : JOB NOT WAITING TILL DEADLINE
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 08, 2010 6:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Missing Java main class akg Java & MQSeries 3 Wed May 25, 2016 4:05 pm
No new posts Cobol Sub-Program and Main-Program Chetan Kumar Mainframe Interview Questions 7 Sat Oct 17, 2015 10:48 am
No new posts Copy key from previous record till it... kranthikumarb DFSORT/ICETOOL 6 Wed Aug 26, 2015 7:47 pm
No new posts ICE039A F INSUFFICIENT MAIN STORAGE -... bijoybabu83 DFSORT/ICETOOL 3 Thu Sep 25, 2014 4:29 am
No new posts Difference of COMMIT in main program ... dejunzhu DB2 11 Thu Nov 07, 2013 3:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us