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

TIME PARAMETER


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudhaaa

New User


Joined: 24 Mar 2005
Posts: 51

PostPosted: Mon Jun 27, 2005 3:22 pm
Reply with quote

Hi folks,

IN JCL,WE HAVE A STEP WITH TIME=2,AND IN JOB CARD I SPECIFIED IT AS TIME=3, IF THE STEP NEEDS MORE THAN 2 MINUTES FOR EXECUTION WHT HAPPENED WHEN WE RUN THIS JCL
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Jun 27, 2005 3:35 pm
Reply with quote

Sudhaaa,

STEP will get TIME ABEND.

Regards,

Priyesh.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Jun 27, 2005 3:45 pm
Reply with quote

to be more specific....

JOB TIME=X
STEP1 TIME=A
STEP2 TIME=B
STEP3 TIME=C

So for STEP3 to be executed successfully.

Its running time <= C & running time<= (X-A-B)

Regards,

Priyesh.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Mon Jun 27, 2005 3:47 pm
Reply with quote

Hi,
If your step exceeds the time limit coded in the JOB CARD it will abend.
But if it takes time greater than 2(as coded in step) and less than 3 as coded in JOB CARD it will run fine. As if time parameter is coded both in JOB and STEP, job will override the time parameter of the step.
Correct me if i am wrong.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Jun 27, 2005 3:57 pm
Reply with quote

Hi Subhasis_50,

Friend....I m agree with you on.....job will override the time parameter of the step.

Well, I found some more thing on this....

Quote:
You can use the TIME parameter on a JOB statement to decrease the amount of processor time available to a job or job step below the default value. You cannot use the TIME parameter on a JOB statement to increase the amount of time available to a job step over the default value. To increase the allowable time over the default value, use the TIME parameter on the EXEC statement.


http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/20.26?DT=20040712170508

It should clear the air....Please get me back, If I m not correct.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Rajani77
Warnings : 1

New User


Joined: 14 Jul 2005
Posts: 3
Location: Bangalore

PostPosted: Thu Jul 14, 2005 10:38 am
Reply with quote

Hi !

That job is abended with S322 abend, If the job will takes more than specifed time, this abend happens

Rajani
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Fri Jul 15, 2005 6:20 pm
Reply with quote

hi sudhaaa

The time parameter in on the EXEC will override the time parameter on the job card.If step exdeds specified time limit on exec parameter the job will abended.

in your above case job will abended

thanooz
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Fri Jul 15, 2005 9:28 pm
Reply with quote

Quote:

IN JCL,WE HAVE A STEP WITH TIME=2,AND IN JOB CARD I SPECIFIED IT AS TIME=3, IF THE STEP NEEDS MORE THAN 2 MINUTES FOR EXECUTION WHT HAPPENED WHEN WE RUN THIS JCL


In your case the Job will ABEND because Unless you mention TIME=NOLIMIT or 1440 in JOBCARD the Parm will not be overriding the parm in EXEC statement. So there is no significance if you code anything other than NOLIMIT or 1440 in JOBCARD ,bcos it is going to ignored by the parm in EXEC statement.

Also find the link for clarification.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/20.26.4?SHELF=&DT=20040712170508&CASE=
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
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