I have a tape dataset uncataloged, I can recover it by using following JCL but I don't have access to recover it, since it is a prod dataset. Is it possible to recover a uncataloged tape production dataset to a test dataset ?
Joined: 06 Jun 2008 Posts: 8567 Location: Dubuque, Iowa, USA
Is it possible to recover a uncataloged tape production dataset to a test dataset ?
Depending upon what you mean, possibly.
If you are wanting to copy an uncataloged tape data set to a cataloged disk file name, you can do that by specifying the UNIT and VOL=SER as well as DISP and DSN for the tape data set. If the tape is uncataloged, and has not been scratched, you must provide the data that usually comes from the catalog (that is, the type of tape drive to use and the serial number/name of the tape).
If you are wanting to catalog the tape with a different data set name, this is not generally possible since the tape label contains the data set name and if the catalog data set name does not match the tape label the data set will not be accessible (actually, IIRC the catalog attempt will fail).