Just a thought. If this is something to be executed under TSO, Most shops do not allow for the TSO User Address space to have MOUNT authority which is needed for a tape to be allocated to a TSO session. That attribute is contained in the TSO Segment for the SAF product.
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf > Of Robin Atwood > Sent: Tuesday, October 02, 2012 11:53 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How to get a tape's DSCB > > >You could also write a program to OPEN a tape dataset for input and examine the > DCB >parameters merged into your DCB. > > Thanks to everyone who replied. Since this may form part of a product shipped to > customers, I can't make any assumptions whether they have rmm or CA-1 installed. > Therefore opening the data set and saving the DCB info is probably the best way. > Incidentally, during my tests the tape is definitely mounted; my colleague did with his > own fair hand and 'D U,,,nnn,4'shows he succeeded! > > -- > Thanks > -Robin ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN