Set Parameters from file in Sequence

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
alla
Participant
Posts: 17
Joined: Thu May 17, 2007 9:28 am
Location: New York

Set Parameters from file in Sequence

Post by alla »

I need to read two values from the file once and then pass these values as parameters to multiple jobs . I already implemented this task by writing Job Control code in the controlling job.
How this can be implemented using Sequence ?

Thanks for your help,

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

Post by chulett »

Welcome. :D

Are you on a 7.5.x release of DataStage? If so, then you have the UserVariables Activity stage which can be used for this purpose.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Your batch control code can be moved to a routine. This routine needs to return the value in one of its arguments. These argument values are available to use as parameter values.
Mamu Kim
alla
Participant
Posts: 17
Joined: Thu May 17, 2007 9:28 am
Location: New York

Post by alla »

I created a Function routine with two output arguments.
These arguments can be accessed in the subsequent activities
in the Sequence.

Thank you for your help.
Post Reply