ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

RSTLIB using SAVLIB *ALLUSR ...kind of

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RSTLIB using SAVLIB *ALLUSR ...kind of

    I'm trying to copy libraries from one partition to another on our iSeries.

    I've backed up 1600+ of libraries beginning with G#0* using SAVLIB Library G#0.

    Now I'm trying to restore those libraries. I've been trying to restore using RSTLIB with *ALLUSR as the Library parameter rather than restore each library at a time.

    It looks like it's going thru the tape but it not restoring anything. Any clue as to what I'm overlooking?

    What I read of the command the ALLUSR should restore anything not beginning with Q.

  • #2
    Re: RSTLIB using SAVLIB *ALLUSR ...kind of

    I did come up with a work around. I did a dspobjd of the libraries backed up and wrote a cl to restore them. My original cl left the ENDOPT parameter at *rewind and only restored 300 in a day and a half until the system ipl'd. I modified it to use *leave and it's running much faster.

    Comment


    • #3
      Re: RSTLIB using SAVLIB *ALLUSR ...kind of

      Y not just

      RSTLIB SAVLIB(G#0*) DEV(TAP02)
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: RSTLIB using SAVLIB *ALLUSR ...kind of

        Well... the command doesnt say you can use the generic* way of restoreing like saving does.

        Comment


        • #5
          Re: RSTLIB using SAVLIB *ALLUSR ...kind of

          Sure it does

          Code:
                                      Restore Library (RSTLIB)                          
                                                                                        
           Type choices, press Enter.                                                   
                                                                                        
           Saved library  . . . . . . . . .                 Name, generic*, *NONSYS...  
                          + for more values                                             
           Device . . . . . . . . . . . . .                 Name, *SAVF, *MEDDFN        
                          + for more values
          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #6
            Re: RSTLIB using SAVLIB *ALLUSR ...kind of

            Mine looks like this:

            Restore Library (RSTLIB)

            Type choices, press Enter.

            Saved library . . . . . . . . . Name, *NONSYS, *ALLUSR, *IBM
            Device . . . . . . . . . . . . . Name, *SAVF, *MEDDFN
            + for more values




            Bottom
            F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
            F13=How to use this display F24=More keys


            What version are you running?

            Comment

            Working...
            X