Every record is having a record identifier in the first field
For Header record RecordIdentifier=0(1 per file will be there)
For second or Pharm record RecordIdentifier=6(1 record per pharm will be there)
For Third onwards claim recor RecordIdentifier=4(claims for that particular pharm will be under each pharm)
So i tried to apply condition in Exp like IIF(RecordIdentifier='0',1,0)
1-->for insert
0-->for reject
But it didn't work
according to above condition 1 record should go to target but thats not the case values are wrong,all zeros are going to header
I even applied agg trans for header record
incorrect values are entered