Thank you for solution it works as expected. Only issue i see is when i do if _n_ = 1 then put statement i have close to 20 columns, so when i export to csv format and if i press enter for names since 20 is lot to read on one line. csv output breaks the line with tab or enter example if _n_ = 1 then put '"Col1", "Col2", "Col3", "Col4", "Col5", "Col6", "Col7", "Col8", "Col9", "Col10", "Col11", "Col12", "Col13", "Col14", "Col15", "Col16", "Col17", so in csv output there is extra space between Col10 and Col11 and is causing issue in csv file. Is there way to fix it? example "Col9","Col10", "Col11","Col12"
... View more