Page 1 of 1

Universal variable

Posted: Wed Apr 06, 2005 2:45 pm
by babbu9
Hi
Is there a possibility to store a variable, lets say select count(*) from table value such that it is accessible from any job downstream in the sequence from where this variable is defined. If so how?

I am trying to store record count value from a oracle database and use that value later in the sequence.

Please inform.

Thanks.

Re: Universal variable

Posted: Wed Apr 06, 2005 3:05 pm
by ogmios
Not directly in DataStage, but since it's flexible you can find ways around it: store values in files, databases, hash files, ...

Ogmios

Posted: Wed Apr 06, 2005 5:19 pm
by ray.wurlod
Easiest and most efficient is to "store" it in a column being propagated in the data stream being processed. This remains available as far downstream as you could wish, until you discard it.