Alright. My simple question is.. How do you open one flat file in this first format then output to another file in another format. I need to loop through the records in the file and at every space write a line(record) to the second file. My files are formatted like this...
abc##12 ab ac ad ae af ag ah ai aj
abc##13 ab ac ad ae af ag ah ai aj
I need to read this in and output to another file formatted like...
abc##12
ab
ac
ad
ae
af
ag
ah
ai
aj
abc##13
ab
ac
ad
ae
af
ag
ah
ai
aj
Any help would be greatly appreciated.
Andrea
abc##12 ab ac ad ae af ag ah ai aj
abc##13 ab ac ad ae af ag ah ai aj
I need to read this in and output to another file formatted like...
abc##12
ab
ac
ad
ae
af
ag
ah
ai
aj
abc##13
ab
ac
ad
ae
af
ag
ah
ai
aj
Any help would be greatly appreciated.
Andrea