uxdat command returns incorrect date for calendars
search cancel

uxdat command returns incorrect date for calendars

book

Article ID: 431043

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The uxdat command fails to return the expected date when processing specific calendars:

$UXEXE/uxdat "YYYYMMDD" "20260715" "YYYYMMDD" "-1do" mu=TESTMU

Issue occurs specifically when using calendars from a different area without being in a uproc context․

Environment

DUAS 7.X

Cause

The uxdat command requires an explicit Area specification (esp) to correctly access and interpret calendar data when executed outside of a standard uproc execution context. By default, the uxdat command when uses outside of a uproc it refers to the Prod area(X).

Resolution

To use calendars from another area without being in the context of a uproc, you must explicitly define the Area parameter (esp) in the command line․

Command Syntax:

$UXEXE/uxdat "YYYYMMDD" "[Date]" "YYYYMMDD" "-1do" mu=[MU_Name] esp=[S/I/A/X]

Example:

$UXEXE/uxdat "YYYYMMDD" "20260715" "YYYYMMDD" "-1do" mu=TESTMU esp=A