Page 1 of 1

Not able to receive the return value from UNIX Script

Posted: Tue Dec 28, 2010 8:19 am
by css.raghu
Hi,
My unix script need to return a value to Exceute command stage.
I have used Return value from activity variable but i am not able to handle it.

Posted: Tue Dec 28, 2010 8:35 am
by chulett
You'll need to explain what "not able to handle it" means as that is what you would use... if you are referring to $ReturnValue, that is.

Posted: Tue Dec 28, 2010 8:43 am
by vinothkumar
Also check in your director log whether your script is returning values as expected.

Posted: Tue Dec 28, 2010 2:47 pm
by ray.wurlod
$ReturnValue can include a line terminator that is translated to a DataStage "field mark". Are you aware of the fact that you may need to ignore this character - or, perhaps, more than one, depending on the actual command?