-
Need Informatica PIM
over 7 years ago
-
over 6 years ago
i can help you -
-
over 6 years ago
Hello Buddy,
Great info! I recently came across your blog and have been reading along.
I thought I would leave my first comment. I don’t know what to say except that I have
This can be acheived within mapping using variables in the expression transformation. below is the pseudo code logicHDR=SUBSTRING(COL1, 1, 4)
TR=SUBSTRING(COL1, 1, 4)
HDR_V=IIF(HDR='HEAD',COL1) ---if you multiple cols cancatenate it
HDR_O=HDR_V
D_CNT_Out_v=Detail_CNT_V
D_CNT_V=IIF (HDR='HEAD', 0,D_CNT_V+1)
D_CNT_Out=D_CNT_Out_v
FIL_FLAG=IIF(TR='TRAIL', 1, 0)
SRC-SQ-EXP-FIL-TGT
In Filter use the condition FIL_FLAG=1 and connect HDR_out, D_CNT_OUT and TRAILER to filter
and Target
Mark
THANK YOU!! This saved my butt today, I’m immensely grateful.
Kind Regards, -
2 Answer(s)