What would be a good way to read an fixed length data file
and based on the first column value generate separate output files?
Sample input file would be like -
T001 Test1 012354 Abcde
T001 Test1 013456 bcdef
T002 Test2 024567 xxxxx
T001 Test1 012354 yyyyy
T003 Test3 02345 cdefg
T002 Test2 000000 56789
Expecting to get 3 files T001.out, T002.out and T003.out for the above input file
containing their respective first column value.
Thanks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |