Hello All,
I have to load the below format textfile using SSIS in 3 different tables, each for M1,M2 and M4.
But while populating the M2 and M4, i have to copy the MemberID from the M1 record.
Can some one help please
M1,CHG IND,MEMBER ID,LAST NAME,FIRST NAME,MID INIT,GENDER,BIRTH DATE,PRIM MBR ID,SPAUSE/DEPEND IND,PARTA END DT,PARTB END DT,RECORD PERIOD
M2,CHG IND,ELIG DATE,ENROLL CD,BEN PLN RID ID,BEN SET SEQ NO,LINE OF BUSINESS,RIDER OPT
M4,CHG IND,MED CENTER ID,PC PCP ID,PC DATE,PC LAST NAME,PC FIRST NAME,PC MID INIT
M1,N,ABCD00001,John Smith, ,F,09/07/1964,ABCD00001,P,00/00/0000,00/00/0000,04/25/2013
M2,N,20120401,10,P1CHP1,073,MD,CB
M2,N,20120401,10,P1CHP1,073,MD,CB
M2,N,20120101,10,P1CHP1,073,MD,CB
M2,N,20111001,10,P1CHP1,049,MD,CB
M4,N,0835 ,123456 ,09/02/2009,rajeev
,klmnop ,
M1,N,ABCD00002,John ,ACEVEDO ,LUCIA ,,F,02/26/1955,ABCD00002,P,00/00/0000,00/00/0000,04/25/2013
M2,N,20120801,14,P1CHP1,073,MD,CB
M2,N,20120801,61,P1CHP1,073,MD,CB
M2,N,20120401,10,P1CHP1,073,MD,CB
M2,N,20120401,10,P1CHP1,073,MD,CB
M2,N,20120101,10,P1CHP1,073,MD,CB
M2,N,20111001,10,P1CHP1,049,MD,CB
M4,N,0834 ,123456 ,03/05/2012,ABCDEF
,GHIJK ,K
M4,N,0834 ,1234567 ,08/26/2011,RAM
,gggggg ,