Re: q mount vs. select ...
2000-01-05 04:44:51
We have 3.1.2.15 on AIX.
The table 'mount' does not exist.
Greetings,
Pieter
Cole C Rogers schreef:
>
> Hmmm... I'm running ADSM 3.1.2.20 for MVS. The "select * from mount"
> query is valid.
>
> Russell Street <russells AT AUCKLAND.AC DOT NZ> on 01/04/2000 02:45:22 PM
>
> Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> To: ADSM-L AT VM.MARIST DOT EDU
>
> cc: (bcc: Cole C Rogers/SAC/HN/FHS)
>
> Subject: Re: q mount vs. select ...
>
> > select * from mount
>
> Not on 3.1.2.* ;) May be on 3.7
>
> Here is a shell script that will dismount all idle volumes. I found
> query mount puts out lines that can easily be used by another program.
>
> !/bin/sh
> admin_login=xxx
> admin_pass=yyyy
>
> VOLS=`/usr/bin/dsmadmc -id=$admin_login -pass=$admin_pass \
> query mount |
> nawk '$0 ~ /IDLE/ {print $4}'`
>
> for i in ${VOLS} ; do
> /usr/bin/dsmadmc -id=$admin_login -pass=$admin_pass \
> dismount volume $i |
> egrep -v "^ADSTAR|^Command|^\(C\)|^Session|^
> Server|^$|ANS8001I|ANS8002I"
>
> done
>
> Russell
|
|
|