<?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: Problem - Proc export to csv file - file suddenly makes weird lineshifts in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433553#M107498</link>
    <description>&lt;P&gt;Ditto RW9's comments.&amp;nbsp; I've had this happen more than once with .csv files that were exported from Excel.&amp;nbsp; Inspect the input file.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2018 15:11:06 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2018-02-02T15:11:06Z</dc:date>
    <item>
      <title>Problem - Proc export to csv file - file suddenly makes weird lineshifts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433527#M107488</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;;"&gt;The code below has worked for a couple of months. Today it suddenly makes weird lineshifts in the output. (and it is not because the file is that big)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;;"&gt;proc&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;;"&gt;export&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;=fdtdwh.t_AUM_DETAILS&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: &amp;quot;Courier New&amp;quot;;"&gt;'\\s64q600\Eisam\COGNOS\DATA\CSV data files\t__AUM_DETAILSxxx.CSV'&lt;FONT size="3"&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;=csv&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;;"&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a picture of the output.. I have never experienced this before, neither have my colleagues.. Please help quickly&lt;/P&gt;&lt;P&gt;I have tried to rename the output and delete the existing csvfile - nothing worked..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS EG ver7.1&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433527#M107488</guid>
      <dc:creator>MetteSF</dc:creator>
      <dc:date>2018-02-02T14:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem - Proc export to csv file - file suddenly makes weird lineshifts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433535#M107490</link>
      <description>&lt;P&gt;Inspect the csv with a proper text editor (notepad++ or similar). Use hex display if normal text does not immediately give you a clue.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433535#M107490</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-02-02T14:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem - Proc export to csv file - file suddenly makes weird lineshifts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433542#M107495</link>
      <description>&lt;P&gt;I would say your source data contains special characters.&amp;nbsp; We had this with one of our database providers, entry people were putting returns and tabs in the data entry fields and the database was not stripping them out.&amp;nbsp; So export ran fine for a while, then someone entered a return character and suddenly export broke.&lt;/P&gt;
&lt;P&gt;Look for '0A'x, '0D'x, for instances of line feed carriage returns for instance.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433542#M107495</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-02T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem - Proc export to csv file - file suddenly makes weird lineshifts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433553#M107498</link>
      <description>&lt;P&gt;Ditto RW9's comments.&amp;nbsp; I've had this happen more than once with .csv files that were exported from Excel.&amp;nbsp; Inspect the input file.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 15:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433553#M107498</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2018-02-02T15:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem - Proc export to csv file - file suddenly makes weird lineshifts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433571#M107501</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13604"&gt;@Doc_Duke&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Ditto RW9's comments.&amp;nbsp; I've had this happen more than once with .csv files that were exported from Excel.&amp;nbsp; Inspect the input file.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would bet a small stack of quarters that your data originated as Excel or other spreadsheet and has cells someone used "ctrl enter" to create multi-line data in text.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 15:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-Proc-export-to-csv-file-file-suddenly-makes-weird/m-p/433571#M107501</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-02T15:31:42Z</dc:date>
    </item>
  </channel>
</rss>

