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
 

 

JCL time limit commands

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL time limit commands
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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