XPMAINT@TAMVENUS.BITNET (Shane Davis -- CSC XPrint Manager) (04/12/88)
>Situation: > This is the first major(?) script that I have written (we started > using VMS this semester). I have a script that does the following > BACKUP command: > >$ BACKUP/REWIND/IMAGE/BUFFER_COUNT=5/VERIFY MA$DUA0: - > MA$MUB0:'DATE.BCK/SAVE_SET > >Problem: > My problem is that after either backup is done, the tape does not > rewind itself and the statements in the COM file following the > backup command are never executed. > > This means that in order to do both backups, I have to run the > script twice. > >Question: > Am I doing something wrong or is this normal? First of all, BACKUP/REWIND indicates that the tape is to be rewound *BEFORE* the backup operation, not afterward. To rewind it afterward, insert the following command after the BACKUP command: $ SET MAGTAPE/REWIND MA$MUB0: (or whatever device it is) Also, when you execute the DISMOUNT command, the default (at least at every installation at which I've used tape) is /UNLOAD, which will unload-rewind the tape. If you were having that problem as well, you will need to do a DISMOUNT/NOUNLOAD MA$MUB0: rather than DISMOUNT MA$MUB0: if you do not wish to physically re-mount the tape between BACKUP operations. --Shane Davis Systems Programming Assistant Texas A&M Univ. Computing Svcs. Ctr. Software Systems Group ******************************************************************************** BITnet THEnet Internet XPMAINT@TAMVENUS THOR::XPMAINT xpmaint@venus.tamu.edu RSD1901@TAMSIGMA ZAC::RSD1901 -------- X233SD@TAMVM1 ------ x233sd@tamvm1.tamu.edu SPAN: UTSPAN::UTADNX::(THEnet addr) ********************************************************************************