|
In my nightly backup program I do the CHKTAP to make sure the right volume id is inserted, then on the first save command (SAVSECDTA in my case) I just do SEQNBR(1) CLEAR(*ALL) - no need to waste time with INZTAP once you've confirmed the right one is inserted. ...Neil rob@dekko.com Sent by: midrange-l-admin@midrange.com To: midrange-l@midrange.com cc: Subject: Re: SAV... not writing over expired files. Methinks thou art right. Thus what I intend to do instead is CHKTAP, retrieve the volid, and INZTAP to that same volid. Alas, no *MOUNTED on the VOLID for a INZTAP. The reason I am going this way instead of SEQNBR(1) is one of our backups is split among two data queues to two tape drives. The CHKTAP/INZTAP combo sound better than saving a dummy object to get the first sequence. Oh, I suppose I could count my own sequence variable in the data queue loop. We'll see... Rob Berendt neilp@dpslink.com Sorry Rob, I missed that in the DSPTAP. Yes, if the file shows as expiry date 12/25/02 I would think it would overwrite it on 12/26/02 - IF you specified SEQNBR(1) as the default is SEQNBR(*END). You wouldn't have needed the CLEAR(*ALL) on 12/26/02 but would if you had wanted to overwrite it prior to 12/25/02. ...Neil
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.