search cancel

CA 1 Tape Management - EARL report - how to change the date format when creating a report

book

Article ID: 201297

calendar_today

Updated On:

Products

CA 1 Tape Management CA 1 Tape Management - Copycat Utility CA 1 Tape Management - Add-On Options

Issue/Introduction

CA 1 provides multiple reports in CA EARL format.

When reporting on dates in the report produced there are multiple date formats available.

How can the default date format be changed?

 

 

 

Environment

Release : 14.0

Component : CA 1 Tape Management

Resolution

The default date format is provided is defined in the DATE_FM field in  CTAPECPB(CTEARLCN), It is 10 characters in length. 

To change from the default when producing an EARL report, the DATE_FMT field needs to be temporarily updated using the SET command before calling CTSEDATE.
 
For example,           
SET DATE_FMT = 'YYYY/MM/DD'
or 
SET DATE_FMT = 'DD MMMYYYY'

Additional Information

the following link shows an example of how this can be achieved 

https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-1-tape-management-system/14-0/utilities-and-reports/producing-customized-reports-using-ca-earl-or-ca-easytrieve/ca-earl-use.html