Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!bbn!uwmcsd1!ig!agate!ucbvax!INDYVAX.BITNET!IJAH400 From: IJAH400@INDYVAX.BITNET Newsgroups: comp.os.vms Subject: file dates Message-ID: <8802150600.AA22546@ucbvax.Berkeley.EDU> Date: 9 Feb 88 19:34:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 39 < Well, I lost the original question. It was about changing file dates. I should have looked around more about this one (I sent a reply that probably wasn't very helpful). Rather than grunging through the RMS manual and writing a program, you can do it very simply with the FDL editor: 1. Make an FDL for the file you want to change. 2. Get into the FDL editor: EDIT/FDL fdl-filespec 3. Select Add from the Main Menu. 4. Select DATE from the Legal Attributes Menu. 5. Pick the date you want to change (BACKUP, CREATION, EXPIRATION, or REVISION). Set it to what you want. If you want to set more than one date you'll have to wade through all the menus again. When you wade back down, you won't see the dates you set (in the date-type menu), but they are still there and will be applied when the FDL is used with CONVERT to create a file. The FDL Editor will re-list the dates correctly every time you change one. 6. Use CONVERT to make a new copy of the file with the dates you want. This file will have the dates you set. One thing to be aware of: ANALYZE/DISK_STRUCTURE will complain about files with wierd dates (like creation dates in the future) and want to fix them. There IS a reason to fudge with dates once in a while, like the time, after an upgrade, when our system came up with a date two weeks in the future! James A. Harvey Bitnet: IJAH400@INDYCMS IUPUI Computing Services ET 1023 799 W. Michigan St. Indianapolis, IN 46220 - Gee, there IS a reason for DIR/CREATED/SINCE=TOMORROW !