Passing parameter to oracle enterprise stage

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
Madhu1981
Participant
Posts: 69
Joined: Wed Feb 22, 2006 7:49 am

Passing parameter to oracle enterprise stage

Post by Madhu1981 »

Hi,

I have a sequential file which contains all the parameters..!! Now i want to pass the parameters from the sequential file to a oracle enterprise stage in one parallel job.!!

Is there any specific function to do this..!!

Thanks in advance
Madhu
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Post by swades »

Madhu,
How many parameters,do you have?
And what is the SQL types for it?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Nothing specific. You have to code/design it. One way would be to read the sequential file and pass the appropriate parameter value via a small routine. This routine can be called while specifying the value of the parameter in the job activity in a sequence job.
Or you can code your custom Job Control and do the entire thing there.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply