From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,16ff1895fcd3e20a X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,16ff1895fcd3e20a X-Google-Attributes: gid1164f8,public From: karcher@thuria.waisman.wisc.edu (Carl Karcher) Subject: Re: Forcing BACKUP to use a single tape Date: 1999/01/06 Message-ID: <6JAN99.22550250@thuria.waisman.wisc.edu>#1/1 X-Deja-AN: 429584781 References: <770g0e$cum$1@Jupiter.mcs.net> <915462197.27308.0.nnrp-08.c2d97cc4@news.demon.co.uk> <76rg1r$5u1@usenet.pa.dec.com> Organization: Waisman Center, University of Wisconsin-Madison Newsgroups: comp.os.vms,comp.sys.dec In a previous article, ddellutr@MCS.COM (Dale Dellutri) wrote: ->Could you also ask them to add a /STATISTICS qualifier similar to the one ->for SORT? I'd love to know number of blocks actually written to the save ->set, etc, so I could do a better job of guessing how much of the tape I'm ->using. You should be able to get a reasonable estimate by taking the difference in the IO operation count (F$GETDVI("MKAnnn","OPCNT")) before and after the backup command, multiply that by the block size (in bytes) of the save set then divide by 512. Or: saveset_blocks = (OpCnt[after] - OpCnt[before]) * blocksize/512 If you use /VERIFY then divide by 2. The result has been fairly close in my observations (at least back in VMS V6.2, I've not checked V7.1). Of course, if your tape drive does compression that will introduce another variable if your goal is estimating actual tape usage.