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 to execute a job at specified time on specified date

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

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Sat Nov 19, 2005 2:52 pm    Post subject: JCL to execute a job at specified time on specified date
Reply with quote

Hi folks,

What will be the JCL code for this statement "TO EXECUTE A JOB BY 7 A.M ON JAN 20,1986"?

let me know in case of any concerns.
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Sat Nov 19, 2005 10:06 pm    Post subject:
Reply with quote

You can use jes2 command to do this but I suggest you a scheduler like Tivoli or CA7.

I hope in this help.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue Nov 22, 2005 10:37 am    Post subject: EXECUTE JCL
Reply with quote

hi frnd,
Use //*MAIN DEADLINE=(0700,B,012086)

Hope it will work. let me know if any.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue Nov 22, 2005 10:51 am    Post subject: EXECUTE JCL
Reply with quote

hi frnd,

U may also have one more option ie., To execute the job on particular time(2pm) on a particular day(friday) of every week.

//*MAIN DEADLINE=(1400,A,6,WEEKLY)

hope it will be helpful in future.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Nov 23, 2005 11:50 am    Post subject: Time & Date of execution of Job
Reply with quote

hi frnd,
Try this also.. i have not yet used this.

//SYSIN DD *
JES RELEASE DATE=(30,2004,TIME=1900)
/*
Back to top
View user's profile Send private message
Suresharr

New User


Joined: 17 Jun 2005
Posts: 6

PostPosted: Thu Mar 16, 2006 11:40 am    Post subject: where we need to include this deadline stmt
Reply with quote

Hi ,

I am trying to scheduling the job with specified interval time in JCL with out using any Scheduler, here got some stuffs.

But want to more info like

If we use //*MAIN DEADLINE, where we need to include this statement

then how we can do the same with typrun=hold option.

Can any one give me correct jcl statments.
I have used like this after my job card ,
//*MAIN DEADLINE=(1400,B,031606), but it seems that not working, please correct me if I am wrong.


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

Moderator Team Head


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

PostPosted: Thu Mar 16, 2006 2:40 pm    Post subject: Re: JCL to execute a job at specified time on specified date
Reply with quote

Check this chapter 28.0 Chapter 28. JES3 Control Statements in the z/OS V1R7.0 MVS JCL Reference manual.
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 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 SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm


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