![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I would like to create a special directory tree format on a tape using VMSTAR. At the receiving end, they have a script which is automatic, and they can't specify where they want the files restored. The directory tree has to be on the TAR tape. I have gotten the tape almost to where I want except for one thing. On the tape, I get a directory tree and file specification that looks like: rcr/addrdir/address_script/ads_database.cfg What I would like is: /rcr/addrdir/address_script/xxx.cfg They need the leading / for their script to work! My command procedure is as follows: $! $! CREATE_TAR_TAPE.COM $! $! In case we need another TAR tape $! $! P1 is the name of the tape drive $! P2 is the label to be put on the tape $! $! $ INITIAIZE 'P1' 'P2' $ MOUNT/FOREIGN/RECORD=512/BLOCK=10240 'P1' $ VMSTAR == "$SYS$SYSTEM:VMSTAR" $ VMSTAR CVF 'P1' USER01:[000000.RCR.ADDRDIR.ADDRESS_SCRIPT]*.*;* $ DISMOUNT/NOUNLOAD 'P1' $! I had tried $ VMSTAR CVF 'P1' USER01:[RCR.ADDRDIR.ADDRESS_SCRIPT]*.*;* but decided to add the master file directory to the input file specification to see if it would work some magic as to what was written on tape. It had given me the same result as above, rcr/addrdir/address_script/xxx.cfg Any ideas about how I can get that leading / onto my tape? Also, can you email me the information or how to get the answer. I'm new to using wizard, and really pretty new at using the internet for this purpose. Thanks. Lee Ann The Answer is : Explicit specification of USER01:[000000.RCR] is unusual, typically this directory is referenced as USER01:[RCR]. Use BACKUP or other mechanism for the transfer, there are tools that can read BACKUP tapes on various platforms. Try a tar utility other than vmstar. Alter the script in the receiving site to process the tape as required. According to the vmstar documentation on the OpenVMS Freeware, the tape is apparently being created in relative format. As an experiment, try explicitly specifying the physical device name. Of course, you could debug and/or make the necessary alterations to the vmstar source code to create the required tar tape format.
|