Restore a VSAM cluster that was originally defined in a VSAM catalog into an ICF catalog. Change the volume to which it is being restored.
If the high level index in the master catalog has already been updated to point to the new ICFCAT1 catalog, all that is needed is the following command.
//jobname JOB (acct,info),etc. // EXEC RESTORE //SYSIN DD *
RESTORE DSN=DMS.TJP.VSAM,VOLUME=VOL075
If the master catalog still relates the index to the VSAM catalog, you must supply the STEPCAT dd statement for the new catalog when you restore the cluster. Specifying the CATALOG= parameter on the RESTORE command is optional, since the presence of the STEPCAT will direct it there anyway.
//jobname JOB (acct,info),etc. // EXEC RESTORE //STEPCAT DD DISP=SHR,DSN=ICFCAT1 //SYSIN DD *
RESTORE DSN=DMS.TJP.VSAM,VOLUME=VOL075,CATALOG=ICFCAT1
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|