I have to read an input tape with multiple files - label 1, label 2, etc. Is there a way to do this in a single execution by altering the DCB and re-opening the file?
yes - sure there is. Use IEHPROPHET, it resides in SYS1.GODLIB on z/os. It will know exactly what the DCB characteristics are that you want and will adjust accordingly.
Of course I am kidding, the only chance you stand is to determine what each tape label contains, and for this you can use some of the freeware programs like TAPEMAP or TAPESCAN on the SHARE tapes (or website).
If you really want to have a program do to this you can always write your own but I would be surprised if there is one already out there to do what you want....of course JCL is another option.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.