(LOGO.JPG) Python for OpenVMS

The FILE_SET_DATE program changes the creation + revision date of a file.

It is used when the VMSTAR program did not preserve the dates from the '.TAR' file or a '$ SET FILE' command has been done to Python's original files. UNTAR2DATESET.COM creates a command procedure that uses FILE_SET_DATE to change the creation + revision dates.

Format:

    $! define a foreign command
    $ FILE_SET_DATE = "$disk:[directory.subdir]FILE_SET_DATE"

    $ FILE_SET_DATE  filespecification  date+time
Arguments:
filespecification
Cannot contain any wildcards or a node name because FILE_SET_DATE does calls to the ACP-QIO interface.
date+time
Month names must be in uppercase on some versions of OpenVMS.

Special warning: if you ommit the hundreth of seconds, they are not automatically set to '.00'!

Example:
    $ COPY  _NLA0:  FILE.TMP
    $ DIRECTORY/DATE=(CREATED,MODIFIED) FILE.TMP

    Directory DKA100:[PYTHON.PYTHON-1_5.VMS]

    FILE.TMP;1    21-FEB-1998 20:46:42.65  21-FEB-1998 20:46:44.38

    Total of 1 file.
    $ FILE_SET_DATE  FILE.TMP  "29-FEB-2000 12:34:56.78"
    $ DIRECTORY/DATE=(CREATED,MODIFIED) FILE.TMP

    Directory DKA100:[PYTHON.PYTHON-1_5.VMS]

    FILE.TMP;1    29-FEB-2000 12:34:56.78  29-FEB-2000 12:34:56.78

    Total of 1 file.
    $

(go to: table of contents, Tools in TOC, index)

23-MAY-1998 ZE.