Ihor
you might like to build a generic "transform" as a proc print report using ODS to write to CSV. By default, you can get all columns written with even simpler code, like :[pre]
ods close _all_ ;
ods csv file= "&_extfile" /* pulled from generic report surface */
proc print data= &_input1 /* pulled from generic report surface */
noobs ;
var _all_ ;
run;
ods _all_ close ;
ods listing ;
[/pre]
Although, for all columns, you really don't need that VAR statement, I placed it there as a reminder that you can probably use the DI Studio surface to select the columns you want to be written, and these would be placed in a macro variable you would use like [pre] VAR &_columns ;
[/pre]
Good Luck
PeterC