Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I read multiple labels on input tape?

Status
Not open for further replies.

pjb

Programmer
May 1, 2001
148
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top