I was hoping it would be easier than reading the labels! Thanks for the input.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of J R Sent: 02 October 2012 19:19 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to get a tape's DSCB The DSCB (and OBTAINing it) is a DASD construct. For the equivalent with tape you have to read sequentially looking for labels. > Date: Tue, 2 Oct 2012 10:14:14 +0000 > From: robin.atw...@microfocus.com > Subject: How to get a tape's DSCB > To: IBM-MAIN@LISTSERV.UA.EDU > > I am investigating the use of catalogued tapes. We have created one such and > you can see it with ISPF 3.4, although line commands are prohibited . The > existing code I am working with dynamically allocates the DSN on the tape, > reads the JFCB and then issues the OBTAIN macro to get DSCB information. > However, with a DSN on a tape volume you always get RC=4, "Volume not > mounted" (the TSO LISTDSI command tells you the same thing). But of course, > the tape *is* mounted. I can run IEBGENER and copy the DSN, so what is the > correct technique in this situation. I have a dim memory that OPEN TYPE=J is > useful but would be grateful for any suggestions. > > TIA > -Robin This message has been scanned by MailController - portal1.mailcontroller.co.uk ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN