coopermarsh
MIS
Hi Gurus
I am trying to automate a whole process using a script
is it possile to nest do statements
thanks for looking
my script is
I am trying to automate a whole process using a script
is it possile to nest do statements
thanks for looking
my script is
Code:
for FILE in `ls *.txt`;
do
FILEN=$FILE | sed 's/.txt//'
for VOL in `cat $FILE`;
do
/opt/tivoli/tsm/client/ba/bin/dsmadmc -se=server -id=######## -password=${PASS} "select volume_name from volumes where volume_name='$VOL'" >> /tmp/cont/${FILEN}_bfs.txt ;
done
done