Query Related To Time Parameter.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Query Related To Time Parameter.

Postby Vineet » Tue Nov 03, 2009 5:24 pm

Hi All,

I am having query Related To Time Parameter define at Step Level.

//JOB Info..........
//Step1 Exec Pgm=A12,Time = 5
//Step2 Exec Pgm=A34,Time = 5
//Step3 Exec Pgm=A56,Time = 5
//Step4 Exec Pgm=EFG,Time = 0

My Queries:

1. If All Step1,Step2,Step3 Execute for 5 Mins will Step4 Execute?
2. For Step4 To Execute will it look for Time Left Out from Step3 Or All Previous Steps (Step1,Step2,Step3).If Step3 has Taken 5 Mins will Step4 Execute?.

Thanks
Kind rgds

Vineet
Vineet
 
Posts: 86
Joined: Tue Jun 19, 2007 11:38 am
Has thanked: 0 time
Been thanked: 0 time

Re: Query Related To Time Parameter.

Postby MrSpock » Tue Nov 03, 2009 6:17 pm

The TIME parameter is virtually obsolete and almost all shops prohibit its use. If I were you I'd not bother with it.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Query Related To Time Parameter.

Postby Bill Dennis » Tue Nov 03, 2009 8:11 pm

The JCL Reference says TIME=0 means the "time remaining fron the previous step", so I'd say steps 1 and 2 have no bearing on the time available to step 4.

Many sites still enforce shorter TIME values for test jobs to prevent runaway looping. Even if TIME is not coded on JOB or STEP statements there is a default value assigned according to JES job CLASS.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post