Transformer Constraint

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
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Transformer Constraint

Post by devidotcom »

Hi,

I have the below conditions inorder to filter records using the transformer stage. This works fine in Development environment of 8.7 but fails in Test 8.7 environment.

Stage Variable -
svFLAG ---> If NullToEmpty(ERR_IND) = 'Y' then 'ERR' Else 'T'

The transformer has 2 links as output -
First link constraint -
svFLAG = 'ERR' OR lnk_FROMLKP.FAILR_IND ='D'

Second link constraint -
svFLAG='T' AND lnk_FROMLKP.FAILR_IND <> 'D'

In the dev environment all 44 records flow to the first link. With the same source file in the test environment only 12 flow to the first link and 32 records flow to the second link.

I am not sure what are we missing.. the code comparison between projects shows there is no difference in the code. Could there be some environment variable not being set right? I don't see a difference there too.

Your help appreciated. Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What is different between the 12 & 32 records? Specifically, the values being checked - ERR_IND, FAILR_IND. I'm guessing your lookup source is different.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply