开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Command Sequence for Handling Tape Files (AWS)


 

René Ferland wrote:

[...]
If I do:

/attach 481 to cmsuser as 181
devinit 481 fish.het
det 181

then the tape is unmounted yes, but I get:

TAPE 481 DETACHED CMSUSER 181
DMKTAP516I TAPE 481 BAD SENSE CMD= 0F
SNS= 4022000000C003000000000000800100010000FFFF000000
CSW= 00F0AD68 2E000001 USERID= SYSTEM

The (information) message DMKTAP516I is generated by "an
error recovery routine [which] encountered an error on a
sense operation".

Why the message? The tape was there and VM did rewind it
and unmount it.
Weird. I can't explain that. Bug in Hercules maybe? Have you tried doing a CCW trace on device 481 to see what's going on?


However, if I do

/attach 481 to cmsuser as 181
devinit 481 fish.het
devinit 481 *
det 181

or just

/attach 481 to cmsuser as 181
/detach 481 from cmsuser

I get

TAPE 481 DETACHED CMSUSER 181

and no DMKTAP516I message. Now VM is trying to rewind and
unmount a non-existing tape and get so confused that it
cannot produce any message induced by the said confusion?

I don't know about VM but poor Rene *is* confused. :-)
Me too now! :(

Please do a ccw trace on 481 for both scenarios and post the results. I'd like to see them.

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...

Join [email protected] to automatically receive all group messages.