Hi
1. I have a flat file (.txt) which I need to be parsed
C01121036200529400100000 0000000278
C10121036200529400100000 5500000001 010
basically file is of size 146 and has 4 different types of records namely C01,
C10,C20,C30.
File contains one record reach of type C01 , C10 and multiple C20,C30 records.
2. Record structure of each record type is different.
3. I need to parse the .txt file,identify record type
4. Based on corresponding record structure apply validation rules
5. Generate error report where data violates validation rules.
can anybody give me sample code or provide me way to do this
Thanks
1. I have a flat file (.txt) which I need to be parsed
C01121036200529400100000 0000000278
C10121036200529400100000 5500000001 010
basically file is of size 146 and has 4 different types of records namely C01,
C10,C20,C30.
File contains one record reach of type C01 , C10 and multiple C20,C30 records.
2. Record structure of each record type is different.
3. I need to parse the .txt file,identify record type
4. Based on corresponding record structure apply validation rules
5. Generate error report where data violates validation rules.
can anybody give me sample code or provide me way to do this
Thanks