Page 1 of 1

loop concept in Transfomer stage

Posted: Tue Sep 27, 2011 8:11 pm
by sainath
hi

I have sample data in a column which i have to parse the code in each seperate row,

;abc;def;ghi;


when i tried to use while condition

@ITERATION <=Dcount (which is count of ';' delimiters) Datastage

is saying it is not valid...the datatype for Dcount is integer ...

please share your thought

thks

Posted: Tue Sep 27, 2011 8:30 pm
by ray.wurlod
DCOUNT is a reserved word (it's the name of a function). Use a different name for the stage variable.