Issue with Nested_Condition Stage in a sequence

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vinay_renu2001
Participant
Posts: 46
Joined: Wed Sep 28, 2005 9:24 am

Issue with Nested_Condition Stage in a sequence

Post by vinay_renu2001 »

Hi,

I am using a "Nested-Condition" stage in a sequence. Actually, this sequence is used as a sub-sequence in a different sequence.

I have 4 triggers for the "Nested Condition" stage. Iam using the expression type "custom(conditional)".

Below are the expressions iam using:

Expression : ReturnValue = 0

Expression : ReturnValue = 1

Expression : ReturnValue = 2

Expression : ReturnValue = 0 Or ReturnValue = 1 Or ReturnValue = 2

Here, "ReturnValue" is the parameter in this sequence.

Iam getting the return value as a parameter from the master sequence.

When i compile this sequence, iam getting the compilation error as follows:

"Activity Nested_Condition: Trigger Expression Ret_Status_0-Variable 'ReturnValue' not defined"


I denfined ReturnValue as a parameter.

Now, I have a doubt that can i use Nested condition stage for this purpose?

Here, in this sequence Netested_Condition Stage does not have any pre-decessors.

Can any one help me out in this? :(

Thanks
Vinay
Thanks and Regards
Vin
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

This is a known issue with the Nested Condition stage. You will need to apply a patch on your client machine. Contact your support provider. I can't recollect the eCase number. I faced the similar problem in the past at a different Client site. However, search the forum. I remember posting the patch name in some post.
Kris

Where's the "Any" key?-Homer Simpson
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I dont have access to DataStage currently but isnt it suppose to be $ReturnValue that you choose by right clicking on the window expression.
:?: :?: :?:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
vinay_renu2001
Participant
Posts: 46
Joined: Wed Sep 28, 2005 9:24 am

Thanks

Post by vinay_renu2001 »

kris007 wrote:This is a known issue with the Nested Condition stage. You will need to apply a patch on your client machine. Contact your support provider. I can't recollect the eCase number. I faced the similar problem in the past at a different Client site. However, search the forum. I remember posting the patch name in some post.

Thanks Kris!!

I will try and work on it.

CVan you please tell me the key words to look in the forum...So that i can point the right one..

Mean while i will try from my end.

Thanks
Thanks and Regards
Vin
vinay_renu2001
Participant
Posts: 46
Joined: Wed Sep 28, 2005 9:24 am

Post by vinay_renu2001 »

DSguru2B wrote:I dont have access to DataStage currently but isnt it suppose to be $ReturnValue that you choose by right clicking on the window expression.
:?: :?: :?:
Hi Chuck

Thanks for your response.

Actually, I am getting the return value of a "Execute Command" using "Comand_Output.$ReturnValue" in a parent sequence and assigning this as a parameter to this sequence.

This parameter is used in the expression.

Thanks
Thanks and Regards
Vin
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Here's the patch name

Code: Select all

dsjsjobgen.dll
But I don't have the eCase number. So can't help you on that.
Kris

Where's the "Any" key?-Homer Simpson
vinay_renu2001
Participant
Posts: 46
Joined: Wed Sep 28, 2005 9:24 am

Post by vinay_renu2001 »

kris007 wrote:Here's the patch name

Code: Select all

dsjsjobgen.dll
But I don't have the eCase number. So can't help you on that.

Thanks Kris..

I will work on this.

Thanks
Thanks and Regards
Vin
Post Reply