You could use mtlib and write a script fragment like: while [ 1 -eq 1 ]; do MTFULL=`mtlib -l $MTLIB -qL|grep full` if [ -z "$MTFULL" ]; then break; fi echo `date +"%D %T"`" <Eject_tape - All output stations full>" echo `date +"%D %T"`" <Eject_tape - All output stations full>" >> /adsm_logs/tapeeject.log sleep 120 done
And when it detects the output stations are full, have it e-mail unstead of just displaying a message. David N. Reiss TSM Support Engineer [EMAIL PROTECTED] 407-736-3912 -----Original Message----- From: Bob Booth - UIUC [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:04 PM To: [EMAIL PROTECTED] Subject: Re: 3494 on MVS vs AIX You may be able to do this with an SNMP trap from the 3494 to an SNMP monitor station. The 3494 will send interventions to SNMP traphosts, and you can do whatever you want with them.. email, page, etc. bob On Mon, Aug 26, 2002 at 12:48:44PM -0400, David E Ehresman wrote: > 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