[Info-vax] Alerting on tape insert

Rich Jordan jordan at ccs4vms.com
Tue Oct 9 19:35:03 EDT 2012


Does a SCSI attached tape drive send any kind of notification to VMS
(ignored by default or not) when a tape is loaded into the drive, if
the drive is currently unallocated and not being waited on by any
program?  I'm just wondering if there's a way to trip an event to have
a program check that media for various characteristics (write enabled,
label, etc)

I can poll (using a program that issues a QIO with IO$_PACKACK) to see
if the media is present/loaded (and then doing whatever else is needed
to verify its writable status) but I'm wondering if there's a way for
VMS to let me know a tape has been loaded in a specific drive without
polling.

I suppose I could leave a program that issues a mount to the drive and
just 'waits' for a tape to show up but that seems inelegant.

Thanks

Rich



More information about the Info-vax mailing list