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
 

 

How to Code this in ESP Scheduler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
sophia

New User


Joined: 30 Jun 2007
Posts: 19
Location: United States

PostPosted: Sat Feb 19, 2011 3:25 pm    Post subject: How to Code this in ESP Scheduler
Reply with quote

can you help me with the coding this in ESP? I have two jobs that would run quarterly

JOB A schedule requirement
1. Ran once in Jan and if it is the 4th,or 5th or 6th or 7th or 8th or 9th or 10th of Jan falling on a SAT
example: Jan 8 2011
2. Ran once in March, June, September next Sat of the period Calendar
Example:
period calendar day:
1.March 25
2.June 18
3. September 10
Expected day the job woul run
1.April 2
2.June 25
3. September 17

JOB B schedule requirement
would run one week after the JOB A ran (it should be a Saturday)

I'm thinking that GENTIME will be great for this complex schedule but not sure how to code it. Thanks in advance
Back to top
View user's profile Send private message

sophia

New User


Joined: 30 Jun 2007
Posts: 19
Location: United States

PostPosted: Sat Feb 19, 2011 4:31 pm    Post subject: Reply to: How to Code this in ESP Scheduler
Reply with quote

I've formulated this schedule not sure if this would be the correct way to do it:

For Job A
JOB JOBA
RESOURCE ADD(1,MFRES)
CCCHK RC(5:4095) FAIL
CCCHK RC(0:4) OK
RUN 1ST SAT OF JAN
RUN 2ND SAT OF JAN
NORUN 1ST DAY OF JAN
NORUN 2ND DAY OF JAN
NORUN 3RD DAY OF JAN
NORUN 11TH DAY OF JAN
NORUN 12TH DAY OF JAN
NORUN 13TH DAY OF JAN
NORUN 14TH DAY OF JAN
NORUN 15TH DAY OF JAN
NORUN 16TH DAY OF JAN
NORUN 17TH DAY OF JAN
RUN SAT OF MAR JUN SEP PERIOD_CAL PLUS 7 DAYS
DELAYSUB 09:00
ENDJOB


For Job B
JOB JOB B
RESOURCE ADD(1,MFRES)
CCCHK RC(5:4095) FAIL
CCCHK RC(0:4) OK
RUN 2ND SAT OF JAN
RUN 3RD SAT OF JAN
NORUN 8TH DAY OF JAN
NORUN 9TH DAY OF JAN
NORUN 10TH DAY OF JAN
NORUN 18TH DAY OF JAN
NORUN 19TH DAY OF JAN
NORUN 20TH DAY OF JAN
NORUN 21ST DAY OF JAN
NORUN 22ND DAY OF JAN
NORUN 23TH DAY OF JAN
NORUN 24TH DAY OF JAN
RUN SAT OF MAR JUN SEP PERIOD_CAL PLUS 14 DAYS
DELAYSUB 07:00
ENDJOB
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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