<?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 PROC EXPORT-Column Labels instead of Column Name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-Column-Labels-instead-of-Column-Name/m-p/896016#M354007</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc export to export sas data set into tXT file.&lt;/P&gt;
&lt;P&gt;I want to have&amp;nbsp; in the txt file&amp;nbsp; &amp;nbsp;Column Labels instead of Column Names.&lt;/P&gt;
&lt;P&gt;I opened the txt file via notepad and I see that columns headers are:&lt;/P&gt;
&lt;P&gt;"Client_Name"&lt;BR /&gt;"Gender"&lt;BR /&gt;"Age"&lt;BR /&gt;"Height"&lt;BR /&gt;"Weight"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question- Why do I see double markers (") on col headers?&lt;/P&gt;
&lt;P&gt;What is the way to remove the double marks (")?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Have;
Set sashelp.class;
if sex='F' then age=.;
label
Name='Client_Name'
Sex='Gender'
Age='Age'
Height='Height'
Weight='Weight'
;
run;

proc export data=Have
outfile="/usr/local/SAS/SASUsers/LabRet/Adhoc/creditCards/Ron4.txt"
dbms=tab
label
replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Sep 2023 10:18:55 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2023-09-27T10:18:55Z</dc:date>
    <item>
      <title>PROC EXPORT-Column Labels instead of Column Name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-Column-Labels-instead-of-Column-Name/m-p/896016#M354007</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc export to export sas data set into tXT file.&lt;/P&gt;
&lt;P&gt;I want to have&amp;nbsp; in the txt file&amp;nbsp; &amp;nbsp;Column Labels instead of Column Names.&lt;/P&gt;
&lt;P&gt;I opened the txt file via notepad and I see that columns headers are:&lt;/P&gt;
&lt;P&gt;"Client_Name"&lt;BR /&gt;"Gender"&lt;BR /&gt;"Age"&lt;BR /&gt;"Height"&lt;BR /&gt;"Weight"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question- Why do I see double markers (") on col headers?&lt;/P&gt;
&lt;P&gt;What is the way to remove the double marks (")?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Have;
Set sashelp.class;
if sex='F' then age=.;
label
Name='Client_Name'
Sex='Gender'
Age='Age'
Height='Height'
Weight='Weight'
;
run;

proc export data=Have
outfile="/usr/local/SAS/SASUsers/LabRet/Adhoc/creditCards/Ron4.txt"
dbms=tab
label
replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Sep 2023 10:18:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-Column-Labels-instead-of-Column-Name/m-p/896016#M354007</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-09-27T10:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT-Column Labels instead of Column Name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-Column-Labels-instead-of-Column-Name/m-p/896020#M354010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried removing the label option as per the solution in:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/td-p/687325/page/2" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-remove-double-quotes-from-a-proc-export-CSV-output/td-p/687325/page/2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also mentions renaming variables to what is desired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 11:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-Column-Labels-instead-of-Column-Name/m-p/896020#M354010</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2023-09-27T11:03:09Z</dc:date>
    </item>
  </channel>
</rss>

