Page 1 of 1

reading multiple files

Posted: Mon May 04, 2009 3:16 pm
by dodda
Hello

I am reading multiple files from sequential file stage by using the Read Method: File patern. My job is Seqfilestage--transformer--seqfilestage.

I have 3 files in the input directory with file name pattern similar (*.dat). The job is running fine and i am getting the output which has the contents of the 3 inpiut files. Is there a way that we can track each file name??

thanks

Posted: Mon May 04, 2009 3:21 pm
by chulett
There is, and a search for "file pattern" turned up a number of conversations, including this one which looks like it should help.

Posted: Mon May 04, 2009 8:34 pm
by nagarjuna
Within the sequential file use the option file pattern and also filename ..I think it will give output along with the filename .

Posted: Tue May 05, 2009 9:05 am
by dodda
chulett wrote:There is, and a search for "file pattern" turned up a number of conversations, including this one which looks like it should help.

Hi

Thanks for the reply. I want to track the filename of the each file being processed in datastage director.

Posted: Tue May 05, 2009 11:10 am
by chulett
OK, go fo it. If you have a question, ask it.

Posted: Thu May 07, 2009 10:49 pm
by datastage_learner
Thanks for the reply. I want to track the filename of the each file being processed in datastage director.
mate dodda...whats the issue in tracking the filenames in director? doesn't director gives you a running log of everything? :roll:

else mate...dodda... us peak stage and tune it as per your choice :wink:

Posted: Fri May 08, 2009 12:42 am
by John Smith
In your input seq file stage you can add the option for File Name Column.