Message "XCOMM0105E &DATE(DD)-&DATE... DATA INVALID" when using &DATE variable
search cancel

Message "XCOMM0105E &DATE(DD)-&DATE... DATA INVALID" when using &DATE variable

book

Article ID: 7948

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

XCOMJOB fails with message "XCOMM0105E &DATE(DD)-&DATE... DATA INVALID" when trying to use the &DATE variable on the FILE= SYSIN01 parameter. Here is how the parameter was specified:

FILE='C:\directory\filename'  +

&DATE(MMDD)

 

 

 

Environment

z/OSXCOM r12

Resolution

You must make sure that you are using the correct format for the &DATE variable. In this case "&DATE(MMDD)" is not valid. If you want to make sure that the Month and Day is part of the filename then the proper way to code the parameter would be:

 

FILE='C:\directory\filename'+ 

&DATE(DD)-&DATE(MM)

 

Note: The continuation character, "+", must be placed immediately after the single quote, otherwise you will continue to receive the XCOMM0105E message.

Additional Information

Please refer to the CA XCOM r12 User guide for more details on the Symbolic variables and their format.