Display date in YYYYMMDD format

Document ID : KB000016659
Last Modified Date : 14/02/2018
Show Technical Document Details

Setting a YYYYMMDD date format


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

IBM Iseries

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.