Hello, The source code of %ds2csv macro is stored in Application dispatcher. In the following example, the %COPY statement writes the stored source code to the SAS log: %macro foobar(arg) /store source des="This macro does not do much"; %put arg = &arg; %mend %copy foobar/source; What If I'm using the Utility macro %DS2CSV, for example %ds2csv (data=sashelp.retail, runmode=b, csvfile=.\retail.csv); When I tried using below, im facing the following error, %copy ds2csv/source; ERROR: /source option is not included in the macro ds2csv. When I tried to find the source code of %ds2csv, DS2CSV CSV File Generator webcsv1.sas, webcsv1.html This sample program uses the DS2CSV macro to convert any SAS data set to a comma separated variable file to be downloaded to the browser
... View more