Hello,
I am trying to concatenate several files into one file in a execute command stage. I am successful in concatenating them in Unix, however not in DataStage. Below is what I have written in my execute command stage:
Command: cat
Parameter: #GetPROJDEFValues.$Target_file_location#cust_mstr_r3_* >> cust_mstr_r3.txt
The parameter (#GetPROJDEFValues.$Target_file_location#) is my target file path.
I have several files that start with 'cust_mstr_r3_' and I wish to combine them all into one file called 'cust_mstr_r3.txt'
The sequence runs successfully, however it does not create my master file. Any siggestions?
Concatenate files in an Execute Command stage in Sequence
Moderators: chulett, rschirm, roy
Concatenate files in an Execute Command stage in Sequence
Jweir
--- If strength were all, tiger would not fear scorpion.
--- If strength were all, tiger would not fear scorpion.