Page 1 of 1

Issue with constraint in Transformer

Posted: Fri Feb 22, 2013 4:17 am
by hi_manoj
Hi,

My Target are sequential file. Before target i have a transformer and from Transformer I have 5 out put links (my target files)
Suppose My transformer is T and out put link are A,B,C,D,E. There is a constraint for each out put link.
Out of the 5 constraint 3 are same (say constraint for link A,B,C are same and constraint is x>y) and for the rest two link the constraint is x=y

when i run the job, for link A,B,C records are going in one way say to link A (28,5 rows/sec) where as B ,C (0,0 rows/sec) have no records
but for other two link D and E it is working fine. The number of records to D is equal to E

What can be the issue? Please help me.

Regards
Manoj

Posted: Fri Feb 22, 2013 4:35 am
by jerome_rajan
Have you by any chance checked the 'Otherwise' checkbox under constraints?

Posted: Fri Feb 22, 2013 4:48 am
by hi_manoj
No I have not check the Otherwise check box, I have rechecked it and not of the check box is checked for any of the 5 links.

I mean Othewise/Logs is unchecked for all the link

Posted: Fri Feb 22, 2013 6:53 am
by hi_manoj
Any help Guy's. I have reverse the condition (x>y change to y<x) but no luck.

One more thing I like to share regarding this issue, If i change the order of A,B,C then no data is going to any of the link.

Please help.

Regards
Manoj

Posted: Fri Feb 22, 2013 8:21 am
by chulett
You'd have to post your actual constraint derivations before anyone could provide more cogent help.

Issue with constraint in Transformer

Posted: Fri Feb 22, 2013 6:10 pm
by rhitesh
If constraints on A, B and C are than why dont you just create 1 link for A only.

After TFM , add copy stage to create pipe line for B and C that way you can still have same resultset for A, B and C