Get source file at runtime

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
parag.s.27
Participant
Posts: 221
Joined: Fri Feb 17, 2006 3:38 am
Location: India
Contact:

Get source file at runtime

Post by parag.s.27 »

For folder stage,we are reading multiple flat files of a particular naming convention. We are putting all the output into a single flat file and we want to print the name of the source file(only once) in output file when the data from a new file begin....ie. the file which is currently being read from the folder stage...is there any inbuilt function to get this info...please help
Last edited by parag.s.27 on Thu Nov 30, 2006 9:39 am, edited 1 time in total.
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The first field you define in the Folder stage gives you this information.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply