Save selected files using RSTOBJ

60 pts.
Tags:
CL
Restore
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following