I have a case wherein I'm required to Merge 60 exceptionally large files from Tape into another File, also on Tape. I understand I'll have to use UNIT=AFF=(Previous DD Name) to make sure that multiple tape mounts aren't attempted, but I also believe this would mean I would require to exclusively close each tape file. How exactly would I go about doing that? As of now, the code I'm using doesn't allow me to progress, giving an error as 'TMSS HAS DETECTED 59 TAPE UNITS FOR N******I. THIS NUMBER EXCEEDS STANDARDS. JOB, N******I HAS FAILED.' Please refer existing Code below:
but I also believe this would mean I would require to exclusively close each tape file.
please clarify ... EOF processing for concatenated datasets is automatic
'TMSS HAS DETECTED 59 TAPE UNITS FOR N******I. THIS NUMBER EXCEEDS STANDARDS. JOB, N******I HAS FAILED.'
the message is clear ... nothing can be done here...
speak to Your support
the usual approach is ....
test with a couple of files to start with
if something fails with messages like the one You got...
it means that the process is not flawed in itself,
but it clashes with some limitations of the supporting software
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
I will try out with a couple of files. If that doesn't work out, I can atleast try to find out what the actual limit is.
If this "doesn't work out", you need to determine why it didn't work and correct the problem. . . You should never spread 50 input files across 50 tape drives. Hopefully, if you tried, the job would be canceled immediately.
If you make sure the sort is used to copy the data, it will run far better than IEBGENER (unless IEBGENER automatically invokes the sort for copying files on your system) or IDCAMS. You may also improve the run time by specifying a high DCB=BUFNO=nn.
If the dataset is a multi-volume one, it will mount the first volume to 1 tape drive and the second volume to another tape drive, so when the job has finished with the first volume, it will immediately start processing the second volume and rewind the first volume and then mount the third volume whilst the second volume is being processed and so on.