|
>Be careful in attempting to CLEAR(*ALL) as this procedure can take a rather large >amount of time. I try this once against an old FULL SYTEM SAVE tape, and it took >hours. this will take a long time: SAVLIB LIB(SR1) DEV(TAP01) CLEAR(*ALL) this will not take a long time: SAVLIB LIB(SR1) DEV(TAP01) SEQNBR(1) CLEAR(*ALL) The dft for SEQNBR is *END. This means place the save after the last active file on the tape. The SAVSYS cmd does not have a SEQNBR parm. I assume this is because a save system always starts at seqnbr(1). also, responding to a previous response: >I've found the best way is to do a GO BACKUP, then a 21, initialize them >that way. there is nothing magical about Go Save, option 21. It just runs cl commands. To initialize a tape you only need to run the INZTAP cmd. To save the system, I agree, option 21 is the best solution. No thanks to IBM, there is no SaveEntireSystem cmd. ( and a 10 char limit and upper case only restriction to cmd names ). There are multiple cmds needed to save everything on the system and option 21 does them all. Steve Richter as400, windows c++ contract programmer new york, new jersey. -----Original Message----- From: alan shore <SHOREA@dime.com> To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> Date: Monday, April 16, 2001 11:08 AM Subject: Re: INZ >Be careful in attempting to CLEAR(*ALL) as this procedure can take a rather large amount of time. I try this once against an old FULL SYTEM SAVE tape, and it took hours. > >>>> "Steve Richter" <srichter@AutoCoder.com> 04/16/01 09:56AM >>> >you could initialize the tape >INZTAP DEV(TAP01) NEWVOL(SAVSYS) CHECK(*NO) > > or on the savsys cmd, specify to clear ( init ) any active files previous >saves ) > SAVSYS DEV(TAP01) CLEAR(*ALL) > >Steve Richter >as400, windows c++ contract programmer >new york, new jersey. > >-----Original Message----- >From: Dave Snyder <dsnyder@blcnet.com> >To: midrange-L@midrange.com <midrange-L@midrange.com> >Date: Monday, April 16, 2001 9:38 AM >Subject: INZ > > >>How do I initialize a tape so that when I so a SAVSYS it doesn't force me >to intialize it then? >> >>Dave Snyder >>Systems Analyst >>Sterling Financial >>Phone: 717-735-5876 >>dsnyder@sterlingfi.com >> >>+--- >>| This is the Midrange System Mailing List! >>| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >>| To unsubscribe from this list send email to >MIDRANGE-L-UNSUB@midrange.com. >>| Questions should be directed to the list owner/operator: >david@midrange.com >>+--- >> > >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.