Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To run the JCL at particular time in a day regularily

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sudha

New User


Joined: 16 Aug 2004
Posts: 7

PostPosted: Mon Aug 16, 2004 9:54 pm    Post subject: To run the JCL at particular time in a day regularily
Reply with quote

hi,

i want my jcl to run at particular time in a day regularily. how can i achieve that.


thankyou,
bye
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Mon Aug 16, 2004 11:59 pm    Post subject:
Reply with quote

1. Setup your job in the production job scheduling system.

2. Use the JES2 "Set Automatic Command" facility:

$TA,T=hh.mm,i=nnn,'$VS,''S JOB,N=myjob'''

where "T=hh.mm" is the time you want to submit the job, "i=nnn" is the amount of time (in seconds) to wait before repeating the command, and the rest is the JES2 command to be issued. You can find out more about the "$TA" and "$VS" commans in the "JES2 Commands Reference Manuals".

3. Modification of #2. Submit your job with "TYPRUN=HOLD". Then, use the "$TA" JES2 command to schedule a command to release your job at a specified time (the "$A" command). Of course, your job would then have to reload itself with the "TYPRUN=HOLD" enabled for the next runtime.

4. On a Netview console, setup an "EVERY" timer event to submit your job, i.e. "EVERY 24:00,SUBMIT 'MY.JCL(MYJOB)' ".
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Tue Aug 17, 2004 6:55 am    Post subject:
Reply with quote

Kelvin,
I am sorry that I didn't notice your reply.
I am confused because the Sudha had posted twice. I have answered in the second post but your explanation is more elaborate.
Again I am sorry for this confusion.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Aug 17, 2004 5:41 pm    Post subject:
Reply with quote

No problem.

It would be nice to see the forum moderators take care of duplicate postings. Seems like there's always a lot.
Back to top
View user's profile Send private message
Ayyappan

New User


Joined: 05 Jul 2005
Posts: 31
Location: India

PostPosted: Thu Feb 23, 2006 11:19 am    Post subject:
Reply with quote

Hi superK,

Could you please explain me how and from where i can issue JES2 commands. Sorry i don't know anything about JES2 commands.

Thanks.
Ayyappan
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Feb 23, 2006 7:51 pm    Post subject: Re: To run the JCL at particular time in a day regularily
Reply with quote

JES2 commands are entered into the MVS system through the system console.

Alternatively, they can be entered into the MVS system by software that emulates a console (i.e. Netview, Auto Operator tools, Job Schedulers).

Also, since batch processing is in direct communication with the JES2 subsystem, commands can be entered via the JCL COMMAND parameter.
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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2: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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us