Reading a Save File
30 pts.
0
Q:
Reading a Save File
I have automated a process that does the following
Collects objects to be FTp's to a remote system
Builds a save file of these objects
and FTP's them to a remote AS/400

I would like to automate the receive side to restore the objects with little or no intervention. What I need to do is read the save file in order to get the objects saved and the save library.

How can retreive this information from the save file ?

Thanks
ASKED: Apr 16 2007  10:44 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Well, you can't do a "DSPSAVF" to a file, but you can do it to print, then
perform a CPYSPLF of the output you create to a database file that can then
be read... but why not just restore all objects in the SAVF, unless you want
to exclude specific objects?
Marc Carpenter
Last Answered: Apr 16 2007  11:20 AM GMT by marccarpenter   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cmarsellus   5 pts.  |   Apr 16 2007  2:39PM GMT

Use the RSTOBJ command to restore objects from the save file. The command list parameters to exclude objects or the default to restore all objects in the save file.

 
0