Page 3 of 3

Posted: Tue Jun 06, 2006 2:46 pm
by DSguru2B
Well you are right so far. Now tell me what do you want to do with this count. Do you want to stick it in the reject file as an extra column with all the records, or what exactly do you want to do with it?

Posted: Tue Jun 06, 2006 9:34 pm
by loveojha2
sb_akarmarkar wrote:

It will wait for link .....
It won't, until you have designed it that way, I have tried with exactly what you mentioned the result is all zeroes for all the link counts.

Posted: Wed Jun 07, 2006 1:22 am
by sb_akarmarkar
loveojha2 wrote: It won't, until you have designed it that way, I have tried with exactly what you mentioned the result is all zeroes for all the link counts.
Try to get Just before target stage, Just plan it ..............

Thnaks,
Anupam

Posted: Wed Jun 07, 2006 1:37 am
by loveojha2
sb_akarmarkar wrote:
Try to get Just before target stage, Just plan it ..............

Thnaks,
Anupam
That's what I meant when I said
until you have designed it that way

Posted: Thu Jun 08, 2006 2:52 pm
by kjaouhari
Hi all !!!
I try to do this :
-------------------------------------------
Suppose
Source Link name is SrcLink
Target Link name is TgtLink
Transformer name between is TransformerX
Link one more transformer name TransformerY to TransformerX
Put constraints @OUTROWNUM = 1

Give following in TransformerY for link count
DSGetLinkInfo(DSJ.ME, "TransformerX", "SrcLink" ,DSJ.LINKROWCOUNT)
DSGetLinkInfo(DSJ.ME, "TransformerX", "TgtLink" ,DSJ.LINKROWCOUNT)

Thanks,
Anupam
---------------------------------------------
So In the second transformer I set DSGetLinkInfo .... in derivation of output colum but I have 0 for all rows.

Could you please more precise where you set DSGetLinkInfo... in transformer x?

Posted: Thu Jun 08, 2006 4:28 pm
by ray.wurlod
You don't.

That would not make sense, and would slow down execution to an unacceptable degree.

You do it in an after-stage subroutine, an after-job subroutine, or in a routine invoked from a Routine activity after the job has completed.