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
 
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: 4650
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 Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm

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