Reading Sequence parameter from a File/database

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
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Reading Sequence parameter from a File/database

Post by keshav0307 »

i need to pass some parameters in a job sequence. This parameter will be in oracle table. how can i read this parameter to pass in job sequence.
or how can i read the parameter from a file.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Select it into a hash file with a job. Use either UtilityHashRead or the get next surrogate key routine to develop your own routine.
Mamu Kim
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

Duke
where will i get the UtilityHashRead routine..
Please tell me in detail, how can i do this.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Comes with the product, in the sdk category under the Utility sub-category. Technically it's the UtilityHashLoop routine. Pop it open, the Long Description describes how it works and you can always read the code. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi,

I am not sure, whether these routines can be used for Hash table under PX Edition. :?

-Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not in a PX job itself without inclusion of the dreaded BASIC Transformer, but we're talking in a Sequence job which is a form of Server job. So the answer is yes. :wink:
-craig

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