Since AS400 treats everything as objects, savf are also objects. In this case, when using the RSTOBJ command, u hv to treat device parameter as your tape/dvd device, not as savf (rcvnetf will only work if u are restoring objects from another as400’s savf, but in your case, the savf has already been copied to tape).
Use these parameters for RSTOBJ
OBJECTS = *ALL
SAVED LIBRARY= (find out what is the library that was saved)
DEVICE = dvd device
object types = *ALL
Once u hv restored the objects, you would create a savf, eg,(MAY is the savf name that you create)
Opt Object Type Attribute Text
MAY *FILE SAVF
You can then display the savf contents, by using STRPDM, specify object (option 2) and specify option 5= display or used commands, eg,DSPSAVF
After which you can determine which object you will need to restore, eg, to restore a CL program object to a library. here ENMLIB is the library whereby the savf was saved to and MAYLIB is the library where you wished to restore the object to.
RSTOBJ RSTOBJ OBJ(IGMP06CL) SAVLIB(ENMLIB) DEV(*SAVF) SAVF(MAYLIB/MAY) RSTLIB(MAYLIB)
I would strongly advise that you create a test library to restore your savf first and hold a meeting regarding all the objects which are inside the savf before restore any to production environments. if u had a sand box as400, so much better. DO your stuff in sand box and hv a team of developers test the codes. Get your boss to assign tasks to relevant developers to get the source codes + specs from your client and make sure that these are documented and tested throughly.
If the objects u are restoring within the savf contains only tables, it is still a good idea to create a “clean” library. This is coz the tables names may crashed with existing ones inside production/test environments. Make sure you had very experienced developers or Systems Analyst to look through and document those schemas. Let the SA decide upon which schemas she/he needs u to populate into production.
If those tables are for the purpose of only getting certain data, still it is a good idea to “isolate” the objects in a library by itself to ensure no crashes of object names and no accidental overrides of certain production/test objects
Your experienced developers shld hv no problems running sql/query/400 just to extract the data and build a file to integrate back to their programs, if necessary