Error: CAUAJM_E_10521 Invalid keyword in extended calendar when trying WEKRddd#nn in a Calendar Condition keyword.

book

Article ID: 195759

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation AE

Issue/Introduction

Below sample commits and generates a calendar preview:
extended_calendar: Bi-Weekly-Even-test
description: Bi-Weekly - even weeks
workday: all
non_workday: N
holiday: S
holcal:
cyccal:
adjust: 0
condition: wekr#02

This one does not commit and generates an error:
extended_calendar: Bi-Weekly-Even-test
description: Bi-Weekly - even weeks
workday: all
non_workday: N
holiday: S
holcal:
cyccal:
adjust: 0
condition: wekrsun#02

CAUAJM_E_10521 Invalid keyword in extended calendar Bi-Weekly-Even-test.
CAUAJM_I_50424  Insert Failed for Extended Calendar: Bi-Weekly-Even-test

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

Try using WEKR7#2  format for Sunday starting 2nd week of the year, 

 

The Rn part is the weekday number (1=mon - 7=sun).