IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regaring Time parameter in job card and step


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
teja goud

New User


Joined: 28 Nov 2011
Posts: 14
Location: india

PostPosted: Mon Dec 12, 2011 11:07 am
Reply with quote

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
Back to top
View user's profile Send private message
Binop B

Active User


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

PostPosted: Mon Dec 12, 2011 12:21 pm
Reply with quote

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
Back to top
View user's profile Send private message
teja goud

New User


Joined: 28 Nov 2011
Posts: 14
Location: india

PostPosted: Mon Dec 12, 2011 12:52 pm
Reply with quote

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
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Dec 12, 2011 12:58 pm
Reply with quote

Quote:
how much time the job will take to execute


/mindreadinghat on

Three minutes eighteen seconds

/mindreadinghat off

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).
Back to top
View user's profile Send private message
teja goud

New User


Joined: 28 Nov 2011
Posts: 14
Location: india

PostPosted: Mon Dec 12, 2011 1:17 pm
Reply with quote

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
Back to top
View user's profile Send private message
Binop B

Active User


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

PostPosted: Mon Dec 12, 2011 1:24 pm
Reply with quote

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

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.
Back to top
View user's profile Send private message
chaky

New User


Joined: 28 May 2009
Posts: 20
Location: Bangalore

PostPosted: Mon Dec 12, 2011 1:26 pm
Reply with quote

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.
Back to top
View user's profile Send private message
chaky

New User


Joined: 28 May 2009
Posts: 20
Location: Bangalore

PostPosted: Mon Dec 12, 2011 1:28 pm
Reply with quote

Also, did you attend the igate interview? it is a very common question over there for interview.
Back to top
View user's profile Send private message
teja goud

New User


Joined: 28 Nov 2011
Posts: 14
Location: india

PostPosted: Mon Dec 12, 2011 2:30 pm
Reply with quote

thanks chaky......
no no am not attended igate interview , i attended another company ......
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Dec 12, 2011 2:38 pm
Reply with quote

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.
Back to top
View user's profile Send private message
teja goud

New User


Joined: 28 Nov 2011
Posts: 14
Location: india

PostPosted: Mon Dec 12, 2011 2:48 pm
Reply with quote

thanks to all
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Dec 12, 2011 3:08 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts SORT CARD meaning please DFSORT/ICETOOL 3
No new posts Add condition to a FINDREP SORT card DFSORT/ICETOOL 4
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
Search our Forums:

Back to Top