Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
teja goud

New User

Joined: 28 Nov 2011
Posts: 14
Location: india

 Posted: Mon Dec 12, 2011 11:07 am    Post subject: Regaring Time parameter in job card and step Hi to all, recently i attend an interview , the interviewer asked me one question regarding time parameter, in job step mentioned 10 , in step1 time mentioned 10 and in step2 time mentioned 20 , so in this case what will happen the job... i said job time will override the step time ..is it correct or wrong please give me the solutions // job card ,......,....., Time=10 //step1 exec ............, time =10 //step2 exec.............. time =20 ? ? ? thanks to all in advance

Binop B

Active User

Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

 Posted: Mon Dec 12, 2011 12:21 pm    Post subject: Hi Teja, Am not very sure the "question" you have posted here is complete. Anyway a reference is given below which might help you understand the logic. JCL TIME parameter in JOB and STEP
teja goud

New User

Joined: 28 Nov 2011
Posts: 14
Location: india

 Posted: Mon Dec 12, 2011 12:52 pm    Post subject: thanks binop, actually the interviewer intention is the job ll abend or execute if it is successful how much time the job will take to execute ..... thanks
Bill Woodger

DFSORT Moderator

Joined: 09 Mar 2011
Posts: 7314

Posted: Mon Dec 12, 2011 12:58 pm    Post subject: Reply to: Regaring Time parameter in job card and step

 Quote: how much time the job will take to execute

Three minutes eighteen seconds

The job cannot use more time, in total for all the steps, than the time specified on the JOB card.

The individual steps cannot use more time than any time specified on their EXEC card.

You can try out all the combinations you like for yourself by using small numbers of seconds (say, 2 and 1, or 1 and 2, or 3, 2 and 2 if you want to get creative and have two steps).
teja goud

New User

Joined: 28 Nov 2011
Posts: 14
Location: india

Posted: Mon Dec 12, 2011 1:17 pm    Post subject:

Thanks bill woodger,

 Quote: "The individual steps cannot use more time than any time specified on their EXEC card."

i think it is job card right , not in exec card,
so in my case the job will abend right ...?

thanks
Binop B

Active User

Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

Posted: Mon Dec 12, 2011 1:24 pm    Post subject:

Oh God .. Hope Bill is in a good mood today ...

 teja goud wrote: i think it is job card right , not in exec card, so in my case the job will abend right ...?
Can u elaborate on how u came to this conclusion.

Please note that you have provided 'very very' little info.. and I still feel that you have not posted the "complete" question. and anyway based on what u have said so far - nobody can tell if it will ABEND or execute successfully.
chaky

New User

Joined: 28 May 2009
Posts: 20
Location: Bangalore

 Posted: Mon Dec 12, 2011 1:26 pm    Post subject: Yes, job will abend if it is taking more than 10 secs to execute both the steps. A step will take maximum time alocated on the step level, but the combined time taken for all the steps can not be more than the time on the job card.
chaky

New User

Joined: 28 May 2009
Posts: 20
Location: Bangalore

 Posted: Mon Dec 12, 2011 1:28 pm    Post subject: Also, did you attend the igate interview? it is a very common question over there for interview.
teja goud

New User

Joined: 28 Nov 2011
Posts: 14
Location: india

 Posted: Mon Dec 12, 2011 2:30 pm    Post subject: thanks chaky...... no no am not attended igate interview , i attended another company ......
Bill Woodger

DFSORT Moderator

Joined: 09 Mar 2011
Posts: 7314

 Posted: Mon Dec 12, 2011 2:38 pm    Post subject: Reply to: Regaring Time parameter in job card and step Am I not always, Binop? The JOB, any steps in combination which can include only one step, cannot take more time than is specified on any time parameter on the JOB card. An individual step, cannot take more time than anything specified on the Exec card. If you have JOB with Time=(,1) and EXEC with Time=(,2) the step will abend (S322) if more than one second of CPU time is consumed, due to what it says on the JOB card. So, it doesn't get to the second part of what I say. It abends under the first condition, making the second irrelevant. Edit: Opportunity to fix some typos.
teja goud

New User

Joined: 28 Nov 2011
Posts: 14
Location: india

 Posted: Mon Dec 12, 2011 2:48 pm    Post subject: thanks to all
Bill Woodger

DFSORT Moderator

Joined: 09 Mar 2011
Posts: 7314

 Posted: Mon Dec 12, 2011 3:08 pm    Post subject: Re: Reply to: Regaring Time parameter in job card and step Just try it and have done with it. Site standards probably dictate how you should use TIME at any given installation. TIME on EXEC greater than TIME on JOB is illogical, but not a JCL error.
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics Run time proc edit Niki JCL & VSAM 7 Fri Jun 08, 2018 5:42 pm Dynamically updating the MQ monitorin... Anilkumarmq Java & MQSeries 0 Fri Jun 08, 2018 2:05 pm JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am To Understand EXECIO Read Parameter OPEN Ilavenil CLIST & REXX 2 Tue May 29, 2018 1:59 pm Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us