Display date in YYYYMMDD format

book

Article ID: 16659

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Setting a YYYYMMDD date format



How do we display dates in YYYYMMDD format in CA 2E?

Environment

IBM Iseries

Resolution

Reference the Eight-digit Date of CA 2E Defining a Data Model Guide 

1. Change the values of model value YDATGEN and YDATFMT to "* YMD".

2. Press F9 (Device design) on the function detail screen

3. In the target date field, press the execute key and set the value of "edit code output" and "input" on the screen entry detail screen to "/".

4. Recompile the functions.

 

By executing this procedure it is possible to display the date in YYYY/MM/DD format.