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

JCL to execute a job at specified time on specified date


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

Active User


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

PostPosted: Sat Nov 19, 2005 2:52 pm
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
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: 677
Location: NJ

PostPosted: Tue Nov 22, 2005 10:37 am
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: 677
Location: NJ

PostPosted: Tue Nov 22, 2005 10:51 am
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: 677
Location: NJ

PostPosted: Wed Nov 23, 2005 11:50 am
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
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

Global Moderator


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

PostPosted: Thu Mar 16, 2006 2:40 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 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