<?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: Proc Export; Wrapping Column Names in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192624#M48366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right.&amp;nbsp; When I open it with Notepad it displays the wrapping.&amp;nbsp; When I open it in excel it is on one row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2015 14:53:03 GMT</pubDate>
    <dc:creator>LAtwood</dc:creator>
    <dc:date>2015-01-22T14:53:03Z</dc:date>
    <item>
      <title>Proc Export; Wrapping Column Names</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192622#M48364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running the following code:&lt;/P&gt;&lt;P&gt;proc export data=work.data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile='C:\test.csv'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=csv replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delimiter=';';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column names are pretty long and so it is wrapping the first row.&amp;nbsp; I do not want it to wrap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of what is happening:&lt;/P&gt;&lt;P&gt;column1;column2;column3;column4;column5;&lt;/P&gt;&lt;P&gt;column6;column7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want:&lt;/P&gt;&lt;P&gt;column1;column2;column3;column4;column5;column6;column7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the 99th character it begins to wrap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192622#M48364</guid>
      <dc:creator>LAtwood</dc:creator>
      <dc:date>2015-01-22T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export; Wrapping Column Names</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192623#M48365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you know it is wraping, have you opened it in a text editor perhaps?&amp;nbsp; Its most likely your text editor adding nice wrapping.&amp;nbsp; Open it with Excel and see if the columns are all correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, don't use proc export as it just guesses what you want, and so you can end up with problems.&amp;nbsp; Write a simple datastep with a file statement and put out your data, gives you more control. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192623#M48365</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-01-22T14:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export; Wrapping Column Names</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192624#M48366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right.&amp;nbsp; When I open it with Notepad it displays the wrapping.&amp;nbsp; When I open it in excel it is on one row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192624#M48366</guid>
      <dc:creator>LAtwood</dc:creator>
      <dc:date>2015-01-22T14:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export; Wrapping Column Names</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192625#M48367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, under Format action menu item there is an option for Word Wrap.&amp;nbsp; If you do get this and its not just the text editor, you can always check with a hex editor (plenty of free ones out there), and what you would see is 2 codes, 0a and 0d which are tab and line feed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 15:48:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export-Wrapping-Column-Names/m-p/192625#M48367</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-01-22T15:48:51Z</dc:date>
    </item>
  </channel>
</rss>

