Hi,
I'm using Ksh and I'm seeing some of code in my programme as given below.
Could you please let me know whats is this meeaing ?
(I'm new to this unix)
grep "1034" /u/kkk/bin/temp5.lst|cut -c1-2 >/u/kkk/bin/temp6.lst
if [ -s /u/kkk/bin/temp6.lst ]
then
echo ""
echo "090 Database is not running. Try again later!"
echo "095 waiting 15 minutes"
date
sleep 900
fi
grep "3114" /u/kkk/bin/temp5.lst|cut -c1-2 >/u/kkk/bin/temp6.lst
if [ -s /u/kkk/bin/temp6.lst ]
then
echo ""
echo "100 Not connected to Oracle. Waiting 15 minutes!"
echo "030 waiting 15 minutes"
date
sleep 900
else
more /u/kkk/bin/temp5.lst
j=1
fi
Thanks,
Shyamu.A
Appricaiated quick responce.