Time Parameter

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
rajkumarprajapati
Member
Posts: 40
Joined: Tue Sep 18, 2007 1:17 pm

Time Parameter

Post by rajkumarprajapati » Thu Nov 20, 2008 10:42 am

//JOB Time=(10.0)
//STEP Time=(5,0)

What will happen after submitting the job?

//JOB Time=(10,0)
//STEP Time=(15,0)

will job execute?

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

TIME parameter in JCL

Post by Natarajan » Thu Nov 20, 2008 3:29 pm

You can find the details in the below tutorial.

http://www.geocities.com/srcsinc/drona/ ... pter5.html


If you have TIME parameter on both JOB and STEP, STEP Time will override job parameter for the step.

At high level.... total job time controlled by JOB TIME parameter.
total step time controlled by STEP TIME parameter, if step time not exceed the JOB TIME.

detailed explaination can be found in the above tutorial.
Natarajan
Chennai

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Nov 23, 2008 4:05 am

Hi,

There is a general rule, what's coded on STEP level will be given a precedence over what is coded at Job level.

Nothing different will happen in both the cases unless "boundry levels" are crossed. TIME prameter controls the Max. time alloted & not in "how much" time that activity will be completed.

Let's come to your examples:

1. In this if the step is completed before or in 5 min., fine else OS will check for the time alloted to JOB - oh yes there are five more minutes..TIME parametes on JOB will be regarded in this case.

2. In this actually it's not intelligent to code this way - anyways job itself is not going to get more thhan 10 min. .

Hope this helps..
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others