I have a requirement to create a delimited output file.
File 1: has columns
a b c d e
in file 2 :
my data order should be
I can achieve the format of File2 from file1 by using OUTREC.
But i have one more condition. I need to include the column names on the first line and then the data should be copied.
So file 2 output will be in the format