System Variable &$PHYS_DATE_DD_MON_YYYY_d# incorrectly populates to "Mai" instead of "May" when system set to English
search cancel

System Variable &$PHYS_DATE_DD_MON_YYYY_d# incorrectly populates to "Mai" instead of "May" when system set to English

book

Article ID: 88118

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

The System Variable &$PHYS_DATE_DD_MON_YYYY_d# incorrectly populates to "Mai" instead of "May" when the system set to English in the Automation Engine (AE) version 11.

Investigation

Expected Behavior:
The System variable &$PHYS_DATE_DD_MON_YYYY_d# should contain the month value of "May" during the month of May when the system is set to English.

Example Script:
:SET &QUALIFYINGDATE# = &$PHYS_DATE_DD_MON_YYYY_d# 
:p &QUALIFYINGDATE#

On May 1st 2017, the above script is expected to return:
01-May-2017

Observed Behavior:
The System variable &$PHYS_DATE_DD_MON_YYYY_d# incorrectly contains the month value of "Mai" during the month of May when the system is set to English.

Example Script:
:SET &QUALIFYINGDATE# = &$PHYS_DATE_DD_MON_YYYY_d# 
:p &QUALIFYINGDATE#

On May 1st 2017, the above script is returns:
01-Mai-2017

Environment

OS Version: N/A

Cause

Cause type:
Defect
Root Cause: N/A

Resolution

Upgrade to version 12 of the Automation Engine where this issue has not been reproduced.


Fix Status: Released

Fix Version(s):
Automation Engine 12 - Available

Additional Information

Workaround :
Use the STR_SUB() script function to substitute the value of "Mai" with "May" within your variable:

Example Script:
:SET &QUALIFYINGDATE# = &$PHYS_DATE_DD_MON_YYYY_d# 
:SET &QUALIFYINGDATE# = STR_SUB (&QUALIFYINGDATE#,"Mai","May") 

Reference

Additional information on the STR_SUB() script function in our online documentation.

Automic Workload Automation 12.0 Documentation: