The dataset is on a multi-volume multi-file cart, it is on the second volume, and is labelled 11..
How do I code the job so that it can read the dataset which is on the 2nd volume without having to hardcode the volume serial number.
I know we can substitute the volumes as VOL=SER=(TAPE1,TAPE2), but it won't work in our environment, because are jobs are automated, and we cannot use hardcoded volume-serial numbers.
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
what is the problem?
you should provide the error message...
why you make a referback to dd tape2,
giving a ful y qualified dataset-name for dd
sysut1?
If you note the dataset CDPRODT.EXTULT.TAHTBL is actually in the volume 531650, while the main dataset
CDPRODT.MBACK.BACKUPS.G0076V00 IS IN VOLUME 531494
So this is a multi-volume, multi-file type of backup.... Reason why the backup is done this way is to save on cost of tape cartridges....
The problem is because when label 11 is being accessed, it is actually in the volume 531650, while the referback refers to the volume 531494....
The dataset name in SYSUT1 is the one on label11 of the backup in
CDPRODT.MBACK.BACKUPS...
If I don't have a referback, and it won't know where it is stored, because the catalog doesn't know CDPRODT.EXTULT.TAHTBL... it only knows it as part of the backup CDPRODT.MBACK.BACKUPS(0).
This problem occurs when the dataset is not in the catalog entries, although, it may be seen within TMS enquiry, it doesn't really exist in the catalog.... The problem is the job that creates it, actually fails, but doesn't abend, as such it didn't write the catalog entry.... Check the job that creates it, and if it fails, try to fix the problem of failure. In this case, it appears that the job failed because it is trying to write to a dataset which exist as a catalog gdg base....
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
hy hyoa,
as i understand,
so have a gdg base on tape, where you backup certain datasets on it.
therefore, how did you make this backup, please
tell me the utility, because it might be possible,
that you have to unload the backuped datasets
also with the same utility, for that you have access later...