In
<c2a6ce64ad4c664493ef457111703b7f4c1...@sin-exchange1.microfocus.com>,
on 10/02/2012
   at 10:14 AM, Robin Atwood <[email protected]> said:

>Subject: How to get a tape's DSCB

There is none. A DSCB is an entry in a VTOC on DASD.

>But of course, the tape *is* mounted.

There is no "of course'; the fact that you can mount the volume at a
later point in time does not mean that it was mounted when you did the
I line command.

>I can run IEBGENER

Which has nothing to do with whether the tape was mounted before your
job ran or will be mounted afterwards. 

>I have a dim memory that OPEN TYPE=J is useful

Not for accessing a tape label. It is useful of you want to
dynamically select a file from the tape.

>but would be grateful for any suggestions.

There are many tape scan programs on the CBT. If you have BLP
authority then you could read the tape labels yourself. You could also
write a program to OPEN a tape dataset for input and examine the DCB
parameters merged into your DCB.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2        <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to