25 pts.
 AS/400 restoring a save file
I can display tne save file on the as400 -qclsrc qcmdsrc qddssrc qrpgsrc when i restore with the command below I recieve value on device parameter not valid... Not sure why...===> RST DEV('QSYS.LIB/PMLIB.LIB/SCANSAVE.FILE') OBJ(('/Q*' *INCLUDE)) ALWOBJDIF(*ALL) It is a *file in PMLIB with the attribute of an savf see below

  Library . . . . .   PMLIB                SCANSAVE    *FILE       SAVF 

 Opt  Object             Type     Attribute     Owner         Size (K)   Data        QCLSRC             *FILE    PF            QPGMR              124   YES         QCMDSRC            *FILE    PF            QPGMR               56   YES         QDDSSRC            *FILE    PF            QPGMR              172   YES         QRPGSRC            *FILE    PF            QPGMR              196   YES                                                                                 

 

                                             



Software/Hardware used:
AS400
ASKED: October 15, 2010  7:44 PM
UPDATED: October 15, 2010  11:46 PM

Answer Wiki:
I ended up creating a library SCANLIB<b> to match the saved library for whoever worte this software. Then I could restore the objects... Then I moved themn to the library I wanted and then deleted the library <b>SCANLIB</b>... Thanks Tom for the right click option to save the savf from the article.</b>
Last Wiki Answer Submitted:  October 15, 2010  8:52 pm  by  Mcarpent   25 pts.
All Answer Wiki Contributors:  Mcarpent   25 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You’re welcome. It took me a few clicks to figure out what that link was doing. I hope to look through that set of programs to see what they do. There seems to be a lot of pieces for what should be a fairly simple process.

Glad you worked the restore out.

Tom

 110,175 pts.