If you need more specific help, show an example of the records in your input file and what you expect for output. Explain the rules for getting from input to output. Give the hex value of the "tab" delimiter. Give the RECFM and LRECL of the input file. Give the maximum number of fields in a record.