FIXCENT
Authorization
General User
Purpose
- Migrations in the Year 2000 or later
When there are minidisk files that are created or updated in the year 2000 or later, on a VM/ESA release that is not year 2000 ready. After migrating to a VM/ESA year 2000 ready release, these files will appear to have a 4-digit year of 19xx.
- Testing of year 2000
During testing, the minidisk files that are created or updated appear to have a 4-digit year of 20xx but actually the 4-digit year should be 19xx.
Options
- vdev
- is the virtual device number of the minidisk where the files reside. The valid numbers for XA
and XC virtual machines are X'0001' through X'FFFF'.
The default is 191 minidisk accessed at file mode A. If vdev is specified, you must specify fm
- fm
- assigns a one-character file mode letter to all files on the minidisk. The file mode S is not valid. The vdev is accessed at this file mode. If another disk is accessed at this mode, it is released.
Usage Notes
- The specified minidisk must be linked R/W.
- The FIXCENT command will set the century portion of the year according to a sliding
window of:
[cy-50,cy+49], where integer cy is the current year—that is, the year at the moment of the call.
For example, if a 2-digit year of a file is 05, and the current year (cy) is 1997, the window range is [1947,2046]. In this case, FIXCENT changes the 2-digit year of 05 associated with the file to the 4-digit year 2005.
- If successful, the century of the date of last update of each file on the minidisk is corrected. The changes are saved after all the files have been processed. Either all the dates on the minidisk are processed, or none of them are processed.
- After this command completes successfully, you should create new data backups because the old ones may not reflect the correct century for the minidisk files.
- If you are interested in a related command for the file pool server machine, see FILESERV FIXCENT command in z/VM®: CMS File Pool Planning, Administration, and Operation.
Responses
fixcent
Messages and Return Codes
- DMS037E Filemode fm is accessed as read/only [RC=36]
- DMS069E Filemode fm not accessed [RC=36]
Additional system messages may be issued by this command. The reasons for these messages and their location are:
Reason | Location |
---|---|
Errors in command syntax | Command Syntax Error Messages |