Need to schedule a CA 7 job to run on the 28th day of each month, but roll it back to Saturday if the 28th falls on a Sunday.
WA CA 7 Edition
This solution requires two separate schedule IDs and a 7 Day Relative Calendar:
First SCHID:
------------------ CA-7 CPU JOB SCHEDULING PARAMETER EDIT ------------------
FUNCTION: LIST (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS)
JOB: BARRYZ SCHID: 10 SCAL: ROLL: D INDEX: 000
DOTM LDTM SBTM ---------------------REPEAT----------------------
1300 0010 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: /1,/2,/3,/4,/5 DAY-OF-WEEK: SUN
RDAY: 28
__ __ ANNUAL DAY:
DEFAULT SCAL: 7D
__ __ SYMETRIC START: SPAN: SCHID-COUNT: 002
PROGRAM: SM72 MSG-INDX: 00 -- DB.2.1-E -- 20.183 / 17:04:44
MESSAGE: LIST FUNCTION SUCCESSFUL
USE '/PAGE+1' COMMAND OR PFK EQUIVALENT FOR NEXT SCHID
Second SCHID
------------------ CA-7 CPU JOB SCHEDULING PARAMETER EDIT ------------------
FUNCTION: LIST (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS)
JOB: BARRYZ SCHID: 20 SCAL: ROLL: D INDEX: 000
DOTM LDTM SBTM ---------------------REPEAT----------------------
1300 0010 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: /3,4,5 DAY-OF-WEEK: SAT
RDAY: /16,/17,/18,/19,/20,/21,/22,/23,/24,/25,/26,/28,/29,/30,/31
__ __ ANNUAL DAY:
DEFAULT SCAL: 7D
__ __ SYMETRIC START: SPAN: SCHID-COUNT: 002
PROGRAM: SM72 MSG-INDX: 00 -- DB.2.1-E -- 20.183 / 16:52:47
MESSAGE: LIST FUNCTION SUCCESSFUL