<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to remove double quotes from a proc export CSV output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687479#M208705</link>
    <description>Try another engine.&lt;BR /&gt;proc export data=sashelp.class file=csv dbms=dlm replace; delimiter=','; run;</description>
    <pubDate>Tue, 29 Sep 2020 11:57:56 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-09-29T11:57:56Z</dc:date>
    <item>
      <title>How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687325#M208638</link>
      <description>&lt;P&gt;Good evening all,&lt;/P&gt;&lt;P&gt;Please i have an output file from proc export to a csv. But the output variables have double quotes like&amp;nbsp;&lt;/P&gt;&lt;P&gt;"var1";"var2";"var3";"var4" and so on..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to remove these double quotes in SAS using proc export or any means so that the output will not have any quote.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help&lt;/P&gt;&lt;P&gt;Chimukah&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:46:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687325#M208638</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-28T19:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687334#M208643</link>
      <description>That's typically done for character variables in case they have a comma value in them so that they can be read correctly. It's usually the correct way to format and transfer a CSV file. If you'd like to override that, well, it's not really the standard definition of a CSV but it can be done. &lt;BR /&gt;&lt;BR /&gt;You'll need to use a data step and manually code it yourself though.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687334#M208643</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-28T20:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687340#M208644</link>
      <description>&lt;P&gt;You said i need to manually code it. Is it before the Proc export procedure or after the Proc export?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687340#M208644</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-28T20:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687350#M208648</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225077"&gt;@chimukah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You said i need to manually code it. Is it before the Proc export procedure or after the Proc export?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Instead of Proc Export. Proc export has very few options controlling such behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question is WHY are the quotes objectionable? The purpose of Proc Export is generally to exchange data and quotes around text fields in comma separated values are comma and necessary if you have values containing commas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before you go too far with this project have you verified that absolutely none of your variables have a comma as part of the value?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 21:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687350#M208648</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-28T21:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687355#M208651</link>
      <description>Instead of PROC EXPORT - you cannot use PROC EXPORT you need to use a manual data step. &lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;filename 'outputfile.txt';&lt;BR /&gt;put name "," age "," gender;&lt;BR /&gt;run;</description>
      <pubDate>Mon, 28 Sep 2020 21:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687355#M208651</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-28T21:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687417#M208676</link>
      <description>&lt;P&gt;The premise of your question is wrong.&amp;nbsp; PROC EXPORT does not add any extra quotes to CSV files.&lt;/P&gt;
&lt;P&gt;Test it yourself.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename csv temp;
proc export data=sashelp.class(obs=3) file=csv dbms=csv replace; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;212   data _null_;
213     infile csv ;
214     input;
215     put _infile_;
216   run;

NOTE: The infile CSV is: ...

Name,Sex,Age,Height,Weight
Alfred,M,14,69,112.5
Alice,F,13,56.5,84
Barbara,F,13,65.3,98
NOTE: 4 records were read from the infile CSV.
      The minimum record length was 18.
      The maximum record length was 26.
&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 05:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687417#M208676</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-29T05:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687420#M208678</link>
      <description>HI Tom,&lt;BR /&gt;Did you check the result of your output using notepad to confirm that there is no double quotes on the variable names?&lt;BR /&gt;&lt;BR /&gt;Just wants to be sure that your process is correct&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 29 Sep 2020 05:49:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687420#M208678</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-29T05:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687421#M208679</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225077"&gt;@chimukah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;HI Tom,&lt;BR /&gt;Did you check the result of your output using notepad to confirm that there is no double quotes on the variable names?&lt;BR /&gt;&lt;BR /&gt;Just wants to be sure that your process is correct&lt;BR /&gt;Thanks&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Looking at the file with notepad is not going to look any different than looking at it with an INPUT statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show an example of the dataset you have and the code you used to create the file. You can use a similar simple data step to read the file back in to see what it looks like.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 05:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687421#M208679</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-29T05:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687422#M208680</link>
      <description>&lt;P&gt;PROC EXPORT with DBMS=CVS not going to add any quotes, &lt;STRONG&gt;UNLESS the field value (including column header value) require them.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quotes are required when the value contains the delimiter or the quote character itself.&amp;nbsp; Without the quotes the file could not be re-read since there would be no way to tell the difference between the delimiters in the values and the delimiters between the values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And once you have the possibility of quoted values you need to add quotes around values that have quotes to prevent the quotes in the values from looking like quotes added to protect delimiters.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687422#M208680</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-29T06:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687425#M208683</link>
      <description>Hi Tom,&lt;BR /&gt;In this case a delimiter is required. The header should be without quotes. Normally if you view the output in maybe Excel you will not see the quotes, but if you try viewing it from Notepad you will observe that double quotes are embedded in all the colunm names variable names.&lt;BR /&gt;Tnx</description>
      <pubDate>Tue, 29 Sep 2020 06:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687425#M208683</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-29T06:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687426#M208684</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225077"&gt;@chimukah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;... but if you try viewing it from Notepad you will observe that double quotes are embedded in all the colunm names variable names.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which is perfectly OK. Applications that read CSV files correctly into tables (like you experienced with Excel) will remove the quotes when converting the header line to column names. Notepad shows you the raw file, which is good for diagnosis.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:55:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687426#M208684</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-29T06:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687465#M208700</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225077"&gt;@chimukah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi Tom,&lt;BR /&gt;In this case a delimiter is required. The header should be without quotes. Normally if you view the output in maybe Excel you will not see the quotes, but if you try viewing it from Notepad you will observe that double quotes are embedded in all the colunm names variable names.&lt;BR /&gt;Tnx&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I understand that some programs will transform files when reading them. &lt;STRONG&gt;Which is why in the example I posted already I shared the actual text of the file that PROC EXPORT generated so you could see with your own eyes that it DID NOT add any quotes around the column headers.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is again where I used DELIMITER=';' statement to use semi-colon instead of comma as the delimiter.&lt;/P&gt;
&lt;PRE&gt;265   data _null_;
266     infile csv ;
267     input;
268     put _infile_;
269   run;

NOTE: The infile CSV is: Filename=...

Name;Sex;Age;Height;Weight
Alfred;M;14;69;112.5
Alice;F;13;56.5;84
Barbara;F;13;65.3;98
NOTE: 4 records were read from the infile CSV.
      The minimum record length was 18.
      The maximum record length was 26.
&lt;/PRE&gt;
&lt;P&gt;As you can clearly see there are no quotes in the 4 lines of text that PROC EXPORT generated to export the first three observations from SASHELP.CLASS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So please post an example of code that you have run where PROC EXPORT did add quotes.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687465#M208700</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-29T16:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687479#M208705</link>
      <description>Try another engine.&lt;BR /&gt;proc export data=sashelp.class file=csv dbms=dlm replace; delimiter=','; run;</description>
      <pubDate>Tue, 29 Sep 2020 11:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687479#M208705</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-29T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687494#M208714</link>
      <description>&lt;P&gt;With DBMS=CSV, there will also not be quotes around the column names.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687494#M208714</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-29T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687561#M208737</link>
      <description>&lt;P&gt;Let me also add that i am working with SAS studio. Could it be the problem. I have colleagues who uses different SAS platform and he is not having issues with proc export to CSV&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687561#M208737</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-29T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687567#M208739</link>
      <description>&lt;P&gt;&lt;STRONG&gt;POST.YOUR.CODE.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:05:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687567#M208739</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-29T16:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687568#M208740</link>
      <description>&lt;P&gt;SAS Studio 3.8&lt;/P&gt;
&lt;P&gt;SAS 9.4M6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC EXPORT - data has no embedded delimiters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete1 - export CSV.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49937iE8CCBC2578F096BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="delete1 - export CSV.png" alt="delete1 - export CSV.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC EXPORT, with embedded delimiters (demo2.csv)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete2 - export CSV.png" style="width: 902px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49938i9D62739E8694938B/image-size/large?v=v2&amp;amp;px=999" role="button" title="delete2 - export CSV.png" alt="delete2 - export CSV.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687568#M208740</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-29T16:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687569#M208741</link>
      <description>&lt;P&gt;Different versions may have different specifications, that being said, what you're describing is not the default SAS behaviour many of us would expect so something else is the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens if you run the exact same code I did, replacing the path to something that makes sense for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=sashelp.class outfile='/home/fkhurshed/demo.csv' 
dbms=csv 
replace; 
run;

data class;
set sashelp.class;

if name in ('Alfred', 'Jane') then name = 'My, Name';
run;


proc export data=class outfile='/home/fkhurshed/demo2.csv' 
dbms=csv 
replace; 
run;

*check versions;
proc product_status;run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687569#M208741</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-29T16:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687580#M208747</link>
      <description>Let me demonstrate a little :&lt;BR /&gt;data b1;&lt;BR /&gt;        do sample = 1 to 15;&lt;BR /&gt;            do  unit = 1 to 3;&lt;BR /&gt;               if unit = 1 then seq = "A";&lt;BR /&gt;               else if unit = 2 then seq = "B";&lt;BR /&gt;               else if unit = 3 then seq = "C";&lt;BR /&gt;            output;&lt;BR /&gt;        end;&lt;BR /&gt;  end;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc export data = b1 outfile = "C:\Users\Documents\My SAS Files\9.4/My_Programmes\ran.csv" dbms=dlm label replace;&lt;BR /&gt;delimiter = ';'; run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687580#M208747</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-29T16:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove double quotes from a proc export CSV output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687584#M208748</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data b1;
        do sample = 1 to 15;
            do  unit = 1 to 3;
               if unit = 1 then seq = "A";
               else if unit = 2 then seq = "B";
               else if unit = 3 then seq = "C";
            output;
        end;
  end;
run;

 

proc export data = b1 outfile = "C:\Users\Documents\My SAS Files\9.4\&lt;BR /&gt;My_Programmes\ran.csv" dbms=dlm label replace;

delimiter = ';'; run;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anotations.png" style="width: 268px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49941i1DDFA13E87B8D367/image-size/large?v=v2&amp;amp;px=999" role="button" title="anotations.png" alt="anotations.png" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:46:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/m-p/687584#M208748</guid>
      <dc:creator>chimukah</dc:creator>
      <dc:date>2020-09-29T16:46:54Z</dc:date>
    </item>
  </channel>
</rss>

