On a 3494 attached to AIX what you can do is... mtlib -l/dev/lmcp# -qL Now, if the I/O station has any tapes in it, (used to this would be an "intervention required" situation but not any more at atldd.5.0.7.0.bin )
Anyway, if you have something in the I/O station, you will notice that the message "All output stations empty" is NOT PRESENT. So you can do something like... mtlib -l/dev/lmcp# -qL | grep 'ALL output stations empty' 1>/dev/null 2>&1 if [ $? -ne 0 ] ; then echo tapes in output mode in IO station... fi change the echo to anything that works for you... You can also do this to watch for "degraded" & "intervention" situations... I just run a job hourly from AIX that does all this and pages me (well, the oncall person) when it finds a problem... Library Data: operational state..........Automated Operational State functional state...........00 input stations.............1 output stations............1 input/output status........ALL input stations empty machine type...............3494 sequence number............13256 number of cells............1882 <...> Library Data: operational state..........Automated Operational State functional state...........00 input stations.............1 output stations............1 input/output status........ALL input stations empty ALL output stations empty machine type...............3494 sequence number............12293 number of cells............2336 <...> Dwight -----Original Message----- From: David E Ehresman [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: 3494 on MVS vs AIX When the 3494 I/O station is full of ejected tapes (with more to come), the MVS console automatically gets a mesage "All convenience output stations in library TRROBOT are full." Is there a way for either AIX or a TSM server running on AIX to detect the condition so a email or page could be sent to the operator. When running a checkout libvol of more tapes than the i/o station holds on the tsm server running on aix, the checkout just waits until the station has been cleared. I assume it would timeout eventually. AIX is v5 and TSM is 5.1.1. David Ehresman