Path: utzoo!utgpu!water!watmath!clyde!rutgers!ukma!psuvm.bitnet!cunyvm!unknown From: rrk@byuvax.bitnet Newsgroups: comp.os.vms Subject: Re: Setting file time from VMS Message-ID: <73rrk@byuvax.bitnet> Date: 10 Feb 88 03:30:43 GMT Lines: 21 There are many ways to do this: You can do it at the DCL level, at the RMS level, or at the QIO level. I think that the QIO level is the only way to modify dates of an existing file, although I'm not sure. I don't have my RMS and IO reference manuals in front of me. I remember once successfully setting creation date from DCL as follows: Use ANALYZE/RMS/FDL type command to produce FDL description of file, or simply write one using EDIT/FDL. Then EDIT/FDL to make the creation date whatever you want. Then do a CONVERT/FDL from the original file to a destination file, which will be created with the desired creation date. The problem with doing the modification date this way is that RMS, unless I am mistaken, automatically updates the modification date every time you deaccess a file which has been open for modification, so your desired modification date would be destroyed by it's own modification. I believe if you set up your own FIB blocks and do a write header attributes (see I/O reference manual on what to do after you do an RMS open specifying UFO in the FOP and getting the channel back in stv) you can set either date to whatever you want.