You can use SET DATEFORMAT to specify what date format you want to use for
a userid or you can specify which date format you want to use for just
LISTFILE.
This will set a date format for your virtual machine.
SET DATEFORMAT
.-USER------.
>>--Set--DATEFormat--.-SHOrtdate--.--+-----------+--------------------------><
|-FULldate---| | (1)|
|-ISOdate----| '-SYSTEM----'
'-SYSdefault-'
Note:
(1) SYSTEM is valid only for class B
Listfile date format options from HELP LISTFILE will just force a date
format for the LISTFILE command:
(3)
.--------------.
>--+--------------+-
| (4)|
|-SHOrtdate----|
| (4) |
|-FULldate-----|
| (4) |
'-ISOdate------'
You can also look at SET DEFAULTS to set defaults for some VM commands like
FILELIST and RDRLIST. Try HELP DEFAULTS (ALL.
Four character years can be obtained using FULLDATE or ISODATE depending on
which format you want, mm/dd/yyyy or yyyy-mm-dd respectively.
Doug Breneman z/VM Development IBM Endicott, NY
From: "Dodds, Jim" <[EMAIL PROTECTED]>
To: [email protected]
Date: 08/27/2008 10:45 AM
Subject: CMS file list date
I have a customer that is on z/VM 4.4 and the CMS file dates shown in a
filelist have only 2 digit years. They would like to see the 4 digit years.
I am on VM 2.4 and ours displays a 4 digit year. I know both of these
products are out of service. Would anyone know how to correct this?
Jim Dodds
Systems Programmer
Kentucky State University
400 East Main Street
Frankfort, Ky 40601
502 597 6114