60 pts.
 Save selected files using RSTOBJ
I have written a pgm for our package installation which basically extract the objetcs from a save file shipped to customer along with the pgm. Now, before restoring the objects I need to take backup of the required object from the application lib. I have a PF file shipped with the save file which contains the list of object in the save file. Which means those are the objects going to be replaced when we issue a restore. Now, my question is how I can selectively fish out those object and save it in a backup save file from the application lib. This application lib contains other objetcs which I do not want to be backed up. As far as I know once we save something on the save file we cannot add some more files until and unless we clear it. Moreover, the list of object we ship may exceed 300 and hence cannot use the direct object names in SAVOBJ cmd. Neither I can use OMITOBJ. I was thinking of copying each to QTEMP and save from there in one shot but this may have a performace impact. Looking for a better alternative, if you can. Regards Sudip

Software/Hardware used:
ASKED: July 9, 2009  7:17 AM
UPDATED: July 10, 2009  9:04 AM

Answer Wiki:
See http://itknowledgeexchange.techtarget.com/itanswers/savobj-with-obj-as-variable/ I see two possible paths to accomplish what you want. For one I would look into VIRTUAL tape support, but that would involve extra work on the restore side. Alternatively you could build a seperate library that contains copies of the required objects save that to SAVE file and there you go. No limit on number of objects. Peter
Last Wiki Answer Submitted:  July 10, 2009  9:04 am  by  Teandy   5,830 pts.
All Answer Wiki Contributors:  Teandy   5,830 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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