<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VMS File cration Date change in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359646#M3473</link>
    <description>OK, Willem, so you didn't try this exercise?&lt;BR /&gt;&lt;BR /&gt;How about this?&lt;BR /&gt;-----&lt;BR /&gt;$ convert/fdl=login login.com login2.com&lt;BR /&gt;$ write sys$output f$file_attributes("login.com","cdt")&lt;BR /&gt;18-AUG-2004 11:31:58.96&lt;BR /&gt;$ write sys$output f$file_attributes("login2.com","cdt")&lt;BR /&gt; 1-JAN-2005 11:22:33.45&lt;BR /&gt;$ type login.fdl&lt;BR /&gt;IDENT "demo to change dates in FDL"&lt;BR /&gt;&lt;BR /&gt;SYSTEM&lt;BR /&gt;SOURCE OpenVMS&lt;BR /&gt;&lt;BR /&gt;FILE&lt;BR /&gt; ORGANIZATION sequential&lt;BR /&gt;&lt;BR /&gt;DATE&lt;BR /&gt; CREATION "01-JAN-2005 11:22:33.45"&lt;BR /&gt;&lt;BR /&gt;RECORD&lt;BR /&gt; BLOCK_SPAN yes&lt;BR /&gt; CARRIAGE_CONTROL carriage_return&lt;BR /&gt; FORMAT variable&lt;BR /&gt; SIZE 0&lt;BR /&gt;$&lt;BR /&gt;-----</description>
    <pubDate>Thu, 19 Aug 2004 00:38:04 GMT</pubDate>
    <dc:creator>Uwe Zessin</dc:creator>
    <dc:date>2004-08-19T00:38:04Z</dc:date>
    <item>
      <title>VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359639#M3466</link>
      <description>How can I change the creation date of a OLD dated file in VMS V5.1 ?</description>
      <pubDate>Wed, 18 Aug 2004 03:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359639#M3466</guid>
      <dc:creator>Hrishikesha N</dc:creator>
      <dc:date>2004-08-18T03:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359640#M3467</link>
      <description>AFAIK: Cannot be done. Not directly, at least.&lt;BR /&gt;&lt;BR /&gt;If you COPY the file, the new verion will get today's date. (You could get it to any given date by changing the system date and time and copy the file, but I do not recommend that).&lt;BR /&gt;If you wish, you can then purge, and rename the newly created file to the version it originally had.&lt;BR /&gt;&lt;BR /&gt;Just wondering: why would you want to do this?&lt;BR /&gt;&lt;BR /&gt;Willem&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2004 04:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359640#M3467</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-08-18T04:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359641#M3468</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As Willem mentioned there is no a simple way to change the creation date. You can write a "relative" simple program to change the date. Look at OpenVMS Record Management Services Reference Manual how to do this. The file dates are described in the XABDAT chapter.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 18 Aug 2004 04:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359641#M3468</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-18T04:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359642#M3469</link>
      <description>:) Thanks a lot. It works..... I want this to test my program which has to check for daily update from a application.....&lt;BR /&gt;&lt;BR /&gt;Have a Nice time....</description>
      <pubDate>Wed, 18 Aug 2004 04:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359642#M3469</guid>
      <dc:creator>Hrishikesha N</dc:creator>
      <dc:date>2004-08-18T04:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359643#M3470</link>
      <description>I usually use the FILE utility for this task:&lt;BR /&gt;&lt;A href="http://vms.process.com/scripts/fileserv/fileserv.com?FILE" target="_blank"&gt;http://vms.process.com/scripts/fileserv/fileserv.com?FILE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have no idea if you can get it working on VAX/VMS V5.1 - I rather doubt it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Apart from messing with a XABDAT, I think you can also try a CONVERT/FDL. Creating the FDL file is left as an exercise to the reader ;-)</description>
      <pubDate>Wed, 18 Aug 2004 04:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359643#M3470</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-18T04:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359644#M3471</link>
      <description>Uwe,&lt;BR /&gt;I doubt CONVERT will help. It will create a new file (with the current date) - so it'&lt;BR /&gt;ll work as COPY.&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Wed, 18 Aug 2004 16:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359644#M3471</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-08-18T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359645#M3472</link>
      <description>The DFU utility from the freeware distribution has a SET command which can change any date or file attribute to whatever you like.&lt;BR /&gt;&lt;BR /&gt;$ dir/date=create login.com&lt;BR /&gt;&lt;BR /&gt;Directory USER$TSC:[GILLINGS]&lt;BR /&gt;&lt;BR /&gt;LOGIN.COM;67         28-JUL-2004 10:31:39.39&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;$ mcr dfu set login.com/create=1-jan-2004&lt;BR /&gt;&lt;BR /&gt;     Disk and File Utilities for OpenVMS DFU I2.7&lt;BR /&gt;     Internal Use Only!&lt;BR /&gt;     Copyright Â© 2000 COMPAQ Computer Corporation&lt;BR /&gt;&lt;BR /&gt;%DFU-S-MODIFIED, File USER$TSC:[GILLINGS]LOGIN.COM;67 modified&lt;BR /&gt;&lt;BR /&gt;%DFU-I-READY, SET command ready&lt;BR /&gt;$&lt;BR /&gt;$ dir/date=create login.com&lt;BR /&gt;&lt;BR /&gt;Directory USER$TSC:[GILLINGS]&lt;BR /&gt;&lt;BR /&gt;LOGIN.COM;67          1-JAN-2004 00:00:00.00&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;Be careful! Messing with file dates can have unexpected consequences.</description>
      <pubDate>Wed, 18 Aug 2004 18:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359645#M3472</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-08-18T18:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359646#M3473</link>
      <description>OK, Willem, so you didn't try this exercise?&lt;BR /&gt;&lt;BR /&gt;How about this?&lt;BR /&gt;-----&lt;BR /&gt;$ convert/fdl=login login.com login2.com&lt;BR /&gt;$ write sys$output f$file_attributes("login.com","cdt")&lt;BR /&gt;18-AUG-2004 11:31:58.96&lt;BR /&gt;$ write sys$output f$file_attributes("login2.com","cdt")&lt;BR /&gt; 1-JAN-2005 11:22:33.45&lt;BR /&gt;$ type login.fdl&lt;BR /&gt;IDENT "demo to change dates in FDL"&lt;BR /&gt;&lt;BR /&gt;SYSTEM&lt;BR /&gt;SOURCE OpenVMS&lt;BR /&gt;&lt;BR /&gt;FILE&lt;BR /&gt; ORGANIZATION sequential&lt;BR /&gt;&lt;BR /&gt;DATE&lt;BR /&gt; CREATION "01-JAN-2005 11:22:33.45"&lt;BR /&gt;&lt;BR /&gt;RECORD&lt;BR /&gt; BLOCK_SPAN yes&lt;BR /&gt; CARRIAGE_CONTROL carriage_return&lt;BR /&gt; FORMAT variable&lt;BR /&gt; SIZE 0&lt;BR /&gt;$&lt;BR /&gt;-----</description>
      <pubDate>Thu, 19 Aug 2004 00:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359646#M3473</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-19T00:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359647#M3474</link>
      <description>It's always nice to learn things...&lt;BR /&gt;I wasn't aware that you can actually specify a creation date - but like I said: this is like COPY does: creates a new file, you do not change the date of the original. I didn't know of the other possibilities either. (I could have thought about changing using FAB)&lt;BR /&gt;BTW: I can think of environments where this 'future creation' would be a nasty thing to do - and certainly if audit doesn't signal this - and I doubt it would! So take care when using this possibility...&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Thu, 19 Aug 2004 01:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359647#M3474</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-08-19T01:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: VMS File cration Date change</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359648#M3475</link>
      <description>.... and if you wish you can also specify &lt;BR /&gt;DATE&lt;BR /&gt;REVISION&lt;BR /&gt;but if you don't, the revision date is current date-time.&lt;BR /&gt;&lt;BR /&gt;Somehow I think that this feature should be reserved to processes with (at least) SECURITY privilege. I don't think Auditors will be enthousiastic though...&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 19 Aug 2004 02:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-file-cration-date-change/m-p/3359648#M3475</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-19T02:58:28Z</dc:date>
    </item>
  </channel>
</rss>

