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
 

 

Regaring Time parameter in job card and step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Regaring Time parameter in job card and step
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    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Dec 12, 2011 12:58 pm    Post subject: Reply to: Regaring Time parameter in job card and step
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Dec 12, 2011 2:38 pm    Post subject: Reply to: Regaring Time parameter in job card and step
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    Post subject:
Reply with quote

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Dec 12, 2011 3:08 pm    Post subject: Re: Reply to: Regaring Time parameter in job card and step
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm


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