Not able to receive the return value from UNIX Script

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
css.raghu
Participant
Posts: 18
Joined: Thu Jan 28, 2010 9:34 pm

Not able to receive the return value from UNIX Script

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vinothkumar
Participant
Posts: 342
Joined: Tue Nov 04, 2008 10:38 am
Location: Chennai, India

Post by vinothkumar »

Also check in your director log whether your script is returning values as expected.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply