<?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 file generation question in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/file-generation-question/m-p/218482#M53749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am in a support team and a set of users from a particular site are having a weird issue of unable to create a text file 'correctly'.&lt;/P&gt;&lt;P&gt;A simple dataset was exported to text file, but when they open text file in &lt;STRONG&gt;Notepad&lt;/STRONG&gt;, the data is continuous without spaces but for all of us it displays as usual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when user opens that file in &lt;STRONG&gt;WordPad&lt;/STRONG&gt; , it displays in a single column correctly.&lt;/P&gt;&lt;P&gt;I have attached "file.jpeg" showing the screenshots in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dataset - see screenshot Dataset&lt;/P&gt;&lt;P&gt;When all of us open in Notepad -&amp;nbsp; See screenshot Normal&lt;/P&gt;&lt;P&gt;Problem when user opens in Notepad -&amp;nbsp; See screenshot Issue&lt;/P&gt;&lt;P&gt;&lt;IMG alt="file.JPG" class="jive-image-thumbnail jive-image jiveImage" height="369" src="https://communities.sas.com/legacyfs/online/9990_file.JPG" width="541" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please see below points:&lt;/P&gt;&lt;P&gt;1)We are on Linux platform, our machine is Windows 7 ,running on SAS EG 6.1 (32-bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Used both known ways of exporting files&lt;/P&gt;&lt;P&gt;proc export&lt;BR /&gt;data=eb1&lt;BR /&gt;outfile="/&amp;lt;unixpath&amp;gt;/testfile.txt"&lt;BR /&gt;dbms=TAB replace; &lt;BR /&gt;putnames=no; &lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_ ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set eb1 ; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE '/&amp;lt;unixpath&amp;gt;/testfile.txt'&amp;nbsp; ;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUT ebn2; &lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;BR /&gt;When user creates text file , it opens with incorrect alignment. When we run it,it opens with correct alignment - with same code on same server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) proc setinit;run; returns same for all of us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) The locale details in Windows machine are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 06:14:45 GMT</pubDate>
    <dc:creator>MarkNicholas</dc:creator>
    <dc:date>2015-04-10T06:14:45Z</dc:date>
    <item>
      <title>file generation question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-generation-question/m-p/218482#M53749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am in a support team and a set of users from a particular site are having a weird issue of unable to create a text file 'correctly'.&lt;/P&gt;&lt;P&gt;A simple dataset was exported to text file, but when they open text file in &lt;STRONG&gt;Notepad&lt;/STRONG&gt;, the data is continuous without spaces but for all of us it displays as usual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when user opens that file in &lt;STRONG&gt;WordPad&lt;/STRONG&gt; , it displays in a single column correctly.&lt;/P&gt;&lt;P&gt;I have attached "file.jpeg" showing the screenshots in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dataset - see screenshot Dataset&lt;/P&gt;&lt;P&gt;When all of us open in Notepad -&amp;nbsp; See screenshot Normal&lt;/P&gt;&lt;P&gt;Problem when user opens in Notepad -&amp;nbsp; See screenshot Issue&lt;/P&gt;&lt;P&gt;&lt;IMG alt="file.JPG" class="jive-image-thumbnail jive-image jiveImage" height="369" src="https://communities.sas.com/legacyfs/online/9990_file.JPG" width="541" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please see below points:&lt;/P&gt;&lt;P&gt;1)We are on Linux platform, our machine is Windows 7 ,running on SAS EG 6.1 (32-bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Used both known ways of exporting files&lt;/P&gt;&lt;P&gt;proc export&lt;BR /&gt;data=eb1&lt;BR /&gt;outfile="/&amp;lt;unixpath&amp;gt;/testfile.txt"&lt;BR /&gt;dbms=TAB replace; &lt;BR /&gt;putnames=no; &lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_ ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set eb1 ; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE '/&amp;lt;unixpath&amp;gt;/testfile.txt'&amp;nbsp; ;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUT ebn2; &lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;BR /&gt;When user creates text file , it opens with incorrect alignment. When we run it,it opens with correct alignment - with same code on same server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) proc setinit;run; returns same for all of us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) The locale details in Windows machine are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 06:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-generation-question/m-p/218482#M53749</guid>
      <dc:creator>MarkNicholas</dc:creator>
      <dc:date>2015-04-10T06:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: file generation question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-generation-question/m-p/218483#M53750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Notepad is a Windows program; you created your file in Linux. How did you transfer the file from Linux to Windows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like the transfer did not convert UNIX LF to Windows CR/LF. Notepad can't deal correctly with UNIX text files, Wordpad can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 06:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-generation-question/m-p/218483#M53750</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-10T06:27:56Z</dc:date>
    </item>
  </channel>
</rss>

