Same linux command returning different results?
Posted: Wed Jul 03, 2013 9:51 am
Hey Community
So I've come across a weird anomaly in Datastage that I can't figure out. I have a directory of symbolic links that point to a mounted drive. I use the Linux FIND command to make a comma delimited list that I can later loop through.
I execute this in a sequence command stage. It only finds 7 out of 50 files. I visually checked, ensuring case-sensitivity. I make a copy of the sequence and execute; the copy finds all 50. The Linux command is EXACTLY the same in each sequence but one job returns 7 the other returns 50. Executing the command in a shell window returns all 50. So I'm really scratching my head on this one.
So I've come across a weird anomaly in Datastage that I can't figure out. I have a directory of symbolic links that point to a mounted drive. I use the Linux FIND command to make a comma delimited list that I can later loop through.
Code: Select all
find *.dbf | tr '\n' ','