(PYVMS LOGO)
Some old versions of the VMSTAR program did not set the creation and revision dates of extracted file to those in the '.TAR' file. Even with a current version the instructions to build Python on OpenVMS contain a command that changes the revision date of all files.

The UNTAR2DATESET.COM procedure reads the output of VMSTAR and creates a new procedure that changes the creation + revision date of the extracted file. This procedure calls the FILE_SET_DATE program.

Format:

    $ @UNTAR2DATESET inputfile outputfile
Arguments:
inputfile
This is the file that contains the verbose output of the VMSTAR program.
outputfile
UNTAR2DATESET.COM creates this file which is later run to change the extracted files' dates.
Example:
    $! redirect output of VMSTAR
    $ DEFINE/USER_MODE SYS$OUTPUT name-UNTAR.LOG
    $! extract files from the TAR file
    $ VMSTAR xvf name.TAR
    $! read the output file and create command procedure
    $ @UNTAR2DATESET name-UNTAR.LOG name-DATESET.COM
    $! run the created procedure
    $ @name-DATESET.COM/OUTPUT=name-DATESET.LOG
    $! search for any errors
    $ SEARCH name-DATESET.LOG "%" /WINDOW=(1,4)

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

17-MAR-1998 ZE.