ESP Workload Automation

  • 1.  CA7 scheduling dilemma

    Posted Nov 28, 2017 12:25 PM

    5day processing only  (m-f)

    run schid=1 m-f

    run schid=3 last day of the 5day month run a different stream.

     

    my problem is that schid=3 is backing dating if the last day of the month falls on a sunday or sat...  it goes back to Friday.   BUT my schid=1 is running on Friday so I have two runs on the same day.   

     

    I'm pretty sure I have done this before but I can't seem to find an example.

     

    thanks for any help.

     

    Marysue , Roderick_Woods Phon_Shuffitt



  • 2.  Re: CA7 scheduling dilemma
    Best Answer

    Posted Nov 29, 2017 02:25 PM

    We used this as a training session at my job. So below are the two schedules we developed.  Hope it works.

    ------------------ CA-7 CPU JOB SCHEDULING PARAMETER EDIT ------------------

    FUNCTION:               (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS)

    JOB:         SCHID: 001   SCAL:      ROLL:           INDEX: 000

    DOTM LDTM SBTM ---------------------REPEAT----------------------

    2105    0001  2100     INTERVAL: 0000 TYPE: COUNT: 0000 STOP: 0000

    ____ DAILY

    __x__ WEEKLY          SUN: X MON: x TUE: x WED: x THU: x FRI: x SAT:

    __x__ MONTHLY       JAN: x FEB: x MAR: x APR: x MAY: x JUN: x

                                         JUL: x AUG: x SEP: x OCT: x NOV: x DEC: x

           WEEK:                            DAY-OF-WEEK:

           RDAY: /-0

    ____ ANNUAL            DAY:                                                                   DEFAULT SCAL: AG

    ____ SYMETRIC        START:           SPAN:                                S             CHID-COUNT: 007

    ______________________________________________________________________________

    ------------------ CA-7 CPU JOB SCHEDULING PARAMETER EDIT ------------------

    FUNCTION:               (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS)

    JOB:         SCHID: 003   SCAL:      ROLL:           INDEX: 000

    DOTM LDTM SBTM ---------------------REPEAT----------------------

    2105    0001  2100     INTERVAL: 0000 TYPE: COUNT: 0000 STOP: 0000  

    ____ DAILY

    ___ WEEKLY            SUN: MON: TUE: WED: THU: FRI: SAT:

    __x__ MONTHLY       JAN: x FEB: x MAR: x APR: x MAY: x JUN: x

                                         JUL: x AUG: x SEP: x OCT: x NOV: x DEC: x

           WEEK:                            DAY-OF-WEEK:

           RDAY:  -0

    ____ ANNUAL            DAY:                                                                   DEFAULT SCAL: AG

    ____ SYMETRIC        START:           SPAN:                                S             CHID-COUNT: 007

    PROGRAM: SM72 MSG-INDX: 00 -- DB.2.1-E --    17.276 / 09:20:54



  • 3.  Re: CA7 scheduling dilemma

    Community Manager
    Posted Nov 30, 2017 11:08 AM

    Renate -- did Anthony's suggestion work for you?



  • 4.  Re: CA7 scheduling dilemma

    Posted Dec 02, 2017 11:46 AM

    First thing to consider to try to answer it correctly: SCHID 3 runs a) at Last Day of the Month even if it falls on weekends? or b) at Last Business Date of the Month, therefore should roll back to Friday when it falls on weekends?

     

    If a) set ROLL option to N on SCHID 3 and make sure you use a Base Calendar which has option SCHONLY=N

     

    If b) make sure the Base Calendar has weekends set to 0 ( no running dates ) and option SCHONLY=Y ( very important when scheduling RDAYS ) on both SCHIDs.