Basic to Parallel Transformer Conversion
Posted: Sun May 24, 2009 10:01 pm
Hi,
I'm converting all the basic transformers in our jobs to Parallel Transformers.
In one of stage variables SvMemberID2 of a job,i see the following conversion
ConvertMember1toMember2(CLIENT_ID:',' :MEMBER_ID:',': PERSON_CODE)
Where the input datatype for all the three columns used here are
CLIENT_ID - Varchar(15)
MEMBER_ID - Varchar(18)
PERSON_CODE - Varchar(3)
and the datatype of the above stage variable is Varchar(18)
while mapping the above stage variable to the output coulmn they had used the following derivation
If SvMemberID2 = '-1' Then trimb(MEMBER_ID) Else trimb(SvMemberID2)
The datatype of the output column to which the above derivation is applied is
MemberID2 - Char(18)
Please help me in understanding, what they are trying to achieve by using the above transformation.
Thanks is Advance.
I'm converting all the basic transformers in our jobs to Parallel Transformers.
In one of stage variables SvMemberID2 of a job,i see the following conversion
ConvertMember1toMember2(CLIENT_ID:',' :MEMBER_ID:',': PERSON_CODE)
Where the input datatype for all the three columns used here are
CLIENT_ID - Varchar(15)
MEMBER_ID - Varchar(18)
PERSON_CODE - Varchar(3)
and the datatype of the above stage variable is Varchar(18)
while mapping the above stage variable to the output coulmn they had used the following derivation
If SvMemberID2 = '-1' Then trimb(MEMBER_ID) Else trimb(SvMemberID2)
The datatype of the output column to which the above derivation is applied is
MemberID2 - Char(18)
Please help me in understanding, what they are trying to achieve by using the above transformation.
Thanks is Advance.