Got "ESP023E Invalid logical expression" When Simulate an Application on CA Workload Automation ESP Edition

Document ID : KB000124101
Last Modified Date : 17/01/2019
Show Technical Document Details
Issue:
Got simulation error:

IF TODAY('NEW_YEARS_DAY PLUS 0 WORKDAYS') OR + 
TODAY('PRESIDENTS_DAY PLUS 0 WORKDAYS') OR + 
TODAY('MEMORIAL_DAY PLUS 0 WORKDAYS') OR + 
TODAY('INDEPENDENCE_DAY PLUS 0 WORKDAYS') OR + 
TODAY('LABOR_DAY PLUS 0 WORKDAYS') THEN DO 
HOLRPTS = '2' 

==>ESP027E IF TODAY('NEW_YEARS_DAY PLUS 0 WORKDAYS') OR TODAY('PRESIDENTS_DAY P 
==>ESP023E Invalid logical expression 
ENDDO 
/* ELSE DO */ 
HOLRPTS = '1' 
/* ENDDO */ 
Resolution:
User error, should define more occurrences of the holidays.