Page 1 of 1

Routin counter variable

Posted: Thu Jun 28, 2007 1:12 am
by chida25
Hi All,

I wrote a routine which contains columns as arguments and counter variable, I need to apply the same logic for next five columns , but next time the counter variable should reflect previous counter variable value.

any one have the idea please rever back

Thanks

Posted: Thu Jun 28, 2007 1:19 am
by ArndW
Hello and welcome to DSXchange!

Is "next time" the next call in the same session {in which case you might be able to use COMMON in the routine} or the next run {in which case you would need to store the value to disk, perhaps using one of the KeyMgt... routines in DataStage}