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

JCL time limit commands


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

New User


Joined: 20 Feb 2004
Posts: 3

PostPosted: Fri Feb 27, 2004 1:08 am
Reply with quote

Is there any time limit parameter we can specify in a JCL that can intimate MVS that the current job should be completed by this time?
i.e, Lets say <parameter>=12:00 means the JOB will be completed by 12 noon. I heard that there is a parameter supplied by JES2. However I am unable to find it. I seek your counsel buddies.
Back to top
View user's profile Send private message
Johore

Specialist


Joined: 12 Sep 2003
Posts: 19

PostPosted: Fri Feb 27, 2004 9:32 am
Reply with quote

U can use the TIME parameter

"TIME=" is a keyword parameter used to specify the maximum amount of processing time that a job step may run in the central processing unit (CPU).TIME is specified in standard IBM terms of minutes and seconds. To ask for 100 seconds, code the TIME=(1,40) parameter on the JOB statement

Quote:
SYNTAX :
//JOBNAME JOB ,'your name',TIME=(,30)
or
//STEP1 EXEC PGM=TESTJOB,TIME=2


Quote:
TIME=(1,30)

This example instructs the computer that the CPU should not process the job for longer than one minute and 30 seconds


TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time.

Quote:
TIME=1440 means no CPU time limit is to be applied to this step. It means 24hrs , hence the job will run continuously
Back to top
View user's profile Send private message
balasubramaniyam

New User


Joined: 20 Feb 2004
Posts: 3

PostPosted: Fri Feb 27, 2004 11:52 pm
Reply with quote

Hi thanks for the reply,

Time parameter won't help as its the threshold for the amount of CPU that can be consumed by a JOB. What I am asking is there any parameter we can specify in JCL that will tell that this job should be executed by 12 noon.
Back to top
View user's profile Send private message
Senthilkumar2

New User


Joined: 22 Mar 2004
Posts: 1

PostPosted: Mon Mar 22, 2004 2:57 am
Reply with quote

Hi, Each job has its own estimated time to execute and scheduled accordingly.If we need to complete it before 12noon, and if the job takes on an average 30 mins, then it can be scheduled to run 11, 11:30.
Also, you can priopritize your job depending upon its priority.

Bottomline - scheduling the job will solve your problem.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Mar 22, 2004 1:04 pm
Reply with quote

hello,

you may use JES2 automatic command to relase your job.

have a job (A) that will issue JES release command on an automatic command to be executed at say 12 against your job (B) that is then submitted thru an internal reader step in job (A)

but you need to make sure automatic commands are not disabled at your shop.
Or you can schedule your job thru a job package.

IMHO the automatic command process should only be used occasionnaly, If your job needs to be run on a regular basis, use scheduling package and ask your production people.


AND there are no direct MVS way to do this.
Back to top
View user's profile Send private message
NILESHK2302

New User


Joined: 13 Feb 2004
Posts: 14
Location: hyd

PostPosted: Tue Mar 23, 2004 6:22 pm
Reply with quote

Yeah ,

the only best way is to go out for a scheduling package as suggested by blue bird..........in scheduling package you can decide and quote which day/which time/how long the job should/can run................ icon_smile.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top