Wouldn't it be easier to write a program that uses HPVOLINFO??? Later "COLE,GLENN (Non-HP-SantaClara,ex2)" wrote: > Jon Diercks writes: > > > #!/bin/sh > > callci "DSTAT ALL" | > > awk '$2 ~ /MASTER/ {x = $NF; > > sub("^\(?","/SYS/PUB/VOLUTIL \"showset ",x); > > sub("-[0-9]+\)?$"," classes\"",x); > > print x; }' >/tmp/vcl.$$ > > . /tmp/vcl.$$ > > rm /tmp/vcl.$$ > > ...thus showing there's a reason why this stuff > is called "code." ;) > > --Glenn -- Ron Horner HP3000 Systems Administrator JCPenney Logistics [log in to unmask] (414) 259-2274