On Wed, 5 Feb 2025 at 08:24, Joseph Reichman
<[email protected]> wrote:

> When I do a Alloc FI() DA()
>
> For a tape file I get a message not in catalog or catalog cannt be accessed 
> even if I use VOLUME and provide the tape vol Ser

You need to specify UNIT as well as VOL and DSN. Or make sure your
tape dataset is actually catalogued. And of course you need MOUNT
authority in your TSO profile/UADS. (There is an explicit IKJ message
if you try to mount but don't have authority, so I don't think that's
your problem so far.)

> Anyone know how to allocate a tape file

As above. I've done it, but it can be a pain to work with if you are
using a physical tape. If any kind of operator action is required
(mount, or there's an I/O error, etc.) your TSO session will be hung,
and there's not much you can do about it from the hung terminal. If
you're right there by the tape drive and OS console (e.g. a zPDT) then
it's not so bad, but otherwise plan ahead so you can unhang your
session - perhaps by having a second TSO session (NOT just a second
ISPF screen) with appropriate privs to cancel the mount or otherwise
respond.

Tony H.

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

Reply via email to