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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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