Hi,
I am trying to execute the following shell script from my job sequence
#!/bin/sh
cd /proj/DataSets/
Count=`dsrecords Test.ds |awk -F ' ' '{ print$1 }'`
if [ "$Count" == 0 ]; then
echo "PREVIOUS"
else
echo "CURRENT"
fi;
Upon execution I get the following message.
/home/test.sh[3]: dsrecords: not found.
When executed directly on Unix server it works fine.
Is there something I am missing here.
Regards
Kumar
dsrecords not found
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 60
- Joined: Tue Sep 20, 2011 10:44 pm
- Location: INDIA
-
- Participant
- Posts: 60
- Joined: Tue Sep 20, 2011 10:44 pm
- Location: INDIA