Job Design

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
kumar66
Participant
Posts: 265
Joined: Thu Jul 26, 2007 12:14 am

Job Design

Post by kumar66 »

Hi All,

I have some 10 files . All these files do have the same table definitions.
These files should need to be processed for some data validation and load into target.

I need to create some generic jobs to do this . Becasue I dont want to create 10 jobs .

So what will be the best way to do this.

Please Advice.

Thanks & Regards,
Kumar66
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Use parameters.
kumar66
Participant
Posts: 265
Joined: Thu Jul 26, 2007 12:14 am

Post by kumar66 »

Hi Sainath,


Thanks for your reply. But how to load the meta data for each file.
Because the meta data will be diffrent for all files.

Please Advice.

Thanks & Regards,
Kumar66
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

Sequential files? Multi-read the files (file pattern) in in one job and do the processing required.

By the way, confusion here is added from my view, as your first post contradicts this one:
Because the meta data will be diffrent for all files
Last edited by miwinter on Mon Aug 10, 2009 8:37 am, edited 2 times in total.
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... "the meta data will be different for all files" but "All these files do have the same table definitions". ?? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar66
Participant
Posts: 265
Joined: Thu Jul 26, 2007 12:14 am

Post by kumar66 »

Hi Miwinter,

Can you please explain in detail.

Thanks & Regards,
Kumar66
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

First you need to clarify your seemingly contradictory statements.
-craig

"You can never have too many knives" -- Logan Nine Fingers
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

Please refer to the product documentation - see the Parallel Job Developer's Guide and refer to the Sequential File stage (see File Pattern)
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
kumar66
Participant
Posts: 265
Joined: Thu Jul 26, 2007 12:14 am

Post by kumar66 »

Hi All,

Sorry .My files wont have the same table definition.
The table definition will be diffrent for all the files.

Please Advice.

Thanks & Regrds,
Kumar66
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... you've got 10 files with different metadata that load to 10 different tables after some 'data validation' and you want to do this with one 'generic' job? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

That's the impression I got - in which case, you're out of luck I'm afraid. At best, you could look to make use of shared containers where possible. RCP won't be of any use to you here either as you're looking to perform some validation (maybe also change?) on these data items.
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
kumar66
Participant
Posts: 265
Joined: Thu Jul 26, 2007 12:14 am

Post by kumar66 »

Hi Chulett,

Yes.

Thanks & Regards,
Kumar66
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, no can do.
-craig

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