Hi All; DOes any one know how can I restore only physical file from atape (No logicals). No I do not want to restore individual objects, cause there are too many.
Hi All; DOes any one know how can I restore only physical file from atape (No logicals). No I do not want to restore individual objects, cause there are too many.
Use the RSTOBJ command, and press F4, then F10, to see all of the options. You can not only restore a single file, but if it is a multiple member file, you may even specify the member! Dave
you can also if the file has not been saved as *savrst Then use the CPYFRMTAP command. or us CPYF where your QTAPE file is your tape drive name and to-file is your named file CPYFRMTAP or RSTOBJ are common. rstobj IS OK IF THE FILE has only been saved with SAVOBJ/SAVLIB
You may be trying to do what I want to be able to do. On the restore command, I want to be able to restore all physical files in a specified library. With the ibm supplied rstobj command, that is not possible because you can only specify *file. When you specify *file, it restores all display files, logical files, printer files, etc. I am currently looking into other 3rd party save/restore packages to see if this is possible. Scott
scott, If you use in a Cl the CPYF command or even better if you have synon1e the use Ycpyf, you can use this to declare only PF's. if you don't have 1e, then just monitor the CPF MONMSG for CPYF fail for not a PF. greg.