If any of these conditions fail I want to abort and alert. Is this possible? Is there any "smart" way of doing it?
I'm something of a newbie using datastage so please try to explain without using to many strange two letters
![Wink ;)](./images/smilies/icon_wink.gif)
Best Regards
/Elin
Moderators: chulett, rschirm, roy
Code: Select all
wc -l {filename with fully qualified path}
Code: Select all
wc -l
Code: Select all
head -1 <file name>
Code: Select all
grep "1" <filename>.
Note that, the given regular expression can handle only character basis and not a whole string. If you need to grep two or three character to gether, you can try,trobinson wrote:grep ^1 <filename>