How can we pass initial value to surrogate key stage from a

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
vramana
Premium Member
Premium Member
Posts: 3
Joined: Fri Dec 29, 2006 11:52 am

How can we pass initial value to surrogate key stage from a

Post by vramana »

I have initial value stored in a flatfile. I want to pass that value to the initial value of the surrogate key stage. can anybody help me
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Please post PX questions in the PX forum.

If you have just the value in a file, I would prefer using "cat" in a sequence command stage to get the value into a variable, and then passing that value as a parameter to your PX job and using the parameter to seed the surrogate key stage.
vramana
Premium Member
Premium Member
Posts: 3
Joined: Fri Dec 29, 2006 11:52 am

Post by vramana »

Iam not able to find sequence command stage. Can you help me
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Its in the sequence job. Its called the "Execute Command Stage"
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
vramana
Premium Member
Premium Member
Posts: 3
Joined: Fri Dec 29, 2006 11:52 am

Post by vramana »

DSguru2B wrote:Its in the sequence job. Its called the "Execute Command Stage"



Thanks. I will work with that.
Post Reply