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.
July 9, 2009 7:17 AM
July 10, 2009 9:04 AM