Reading file with multiple header and trailer
Posted: Tue Jun 17, 2008 9:47 am
Hi,
I have an input file which has following format
All detail records are width 80,but within each set there are different coulmn widths
e.g Det Record1 can have 4 coulmns, whereas DEt Record2 can have 8 columns
How do I read this file?
Regards
Wah
I have an input file which has following format
Code: Select all
Header1
Det Records1 (Width 80)
Trailer1
Header2
Det Records2 (Width 80)
Trailer2
Header3
Det Records3 (Width 80)
Trailer3
e.g Det Record1 can have 4 coulmns, whereas DEt Record2 can have 8 columns
How do I read this file?
Regards
Wah