Unix Shell Script Causes File to be Truncated
Posted: Thu Oct 05, 2006 4:08 am
Hi !
I have a unix shell script to basically remove duplicates
When i run this shell script from Unix box, it works perfectly.
But when I call it from Datastage using a Execute Command stage, the gscg.srt file is always created as a blank file.
Any ideas as to why this is happening?
-Nagesh
I have a unix shell script to basically remove duplicates
Code: Select all
sort -k 1,1 -u /dat/gscg.dat >/dat/gscg.srt
But when I call it from Datastage using a Execute Command stage, the gscg.srt file is always created as a blank file.
Any ideas as to why this is happening?
-Nagesh