Page 2 of 2

Posted: Fri Sep 10, 2010 8:41 am
by allavivek
Hi Andrw,

I gave the code which youve gave in uservariable activity before start loop ..

Next in start loop i gave 'delimited values' option -> value from uservariable activity.

Next in command stage inside loop i gave #StartLoop.$Counter value..


Its getting same error...

Is this correct approach ...

Posted: Fri Sep 10, 2010 9:00 am
by vivekgadwal
Hey,

Please try doing the following within the Uservariable activity:

Code: Select all

Oconv(<Command activity name>.$CommandOutput,"MCN")
We execute a shell script to get the loop values and we use this command at the end. Please try this and see if it helps :)

Posted: Fri Sep 10, 2010 9:06 am
by anbu
Or

Add tr command to your unix command

Code: Select all

your_unix_cmd | tr -d '\n'