Processing multiple files

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Processing multiple files

Post by chandra.shekhar@tcs.com »

Hi,

I have requirement where we need to process multiple files(say 100) on a daily basis. The mapping is a simple one-to-one i.e. 100 target tables for 100 files.
I face two challenges :-
a) All the files will have different metadata i.e different columns and will be loaded to different tables.
b) This has to be done using a single job/sequence.

Now this is new for me, I thought that we'll have 100 jobs but to do it in 1 job. Thats where I am stuck at.
Any suggestions.
Thanx and Regards,
ETL User
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Read your documentation on Runtime Column Propagation. It can be used with the Sequential File stage along with schema files to define the metadata.
-craig

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