<?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 convert flat files in PC format to Unix format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42475#M8693</link>
    <description>Can any one please suggest a way to convert multiple(&amp;gt;25) flat files in PC format to Unix format in SAS?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Wed, 01 Dec 2010 17:31:51 GMT</pubDate>
    <dc:creator>4john</dc:creator>
    <dc:date>2010-12-01T17:31:51Z</dc:date>
    <item>
      <title>convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42475#M8693</link>
      <description>Can any one please suggest a way to convert multiple(&amp;gt;25) flat files in PC format to Unix format in SAS?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Wed, 01 Dec 2010 17:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42475#M8693</guid>
      <dc:creator>4john</dc:creator>
      <dc:date>2010-12-01T17:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42476#M8694</link>
      <description>HI:&lt;BR /&gt;
  I'm confused, ASCII text files are ASCII text files. Both the PC and UNIX use ASCII. Can you elaborate a bit on how you expect the format to differ between PC format and Unix format?&lt;BR /&gt;
 &lt;BR /&gt;
  Whenever I FTP my ASCII flat files from the PC to Unix, or vice versa, I don't need to do anything to convert them....hence my confusion.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 01 Dec 2010 17:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42476#M8694</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-01T17:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42477#M8695</link>
      <description>all the .csv files are created on a PC and all have ANSI format.So before I read them into Unix SAS,I need to convert them into Unix format.Else,last variable is not getting populated properly.</description>
      <pubDate>Wed, 01 Dec 2010 18:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42477#M8695</guid>
      <dc:creator>4john</dc:creator>
      <dc:date>2010-12-01T18:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42478#M8696</link>
      <description>The PC ASCII format uses a different end-of-line marker (&lt;CR&gt;&lt;LF&gt;) from that used in Unix ASCII (&lt;LF&gt;).  This can cause some headaches.  FTP knows about this difference.&lt;BR /&gt;
&lt;BR /&gt;
There are programs that can do the conversion and run as batch files or unix scripts.  They are called dos2unix (there is also a unix2dos) and exist for both the PC and unix platforms.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke&lt;/LF&gt;&lt;/LF&gt;&lt;/CR&gt;</description>
      <pubDate>Wed, 01 Dec 2010 18:42:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42478#M8696</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-12-01T18:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42479#M8697</link>
      <description>Is there a way to do it using call system or %sysexec ?</description>
      <pubDate>Wed, 01 Dec 2010 19:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42479#M8697</guid>
      <dc:creator>4john</dc:creator>
      <dc:date>2010-12-01T19:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42480#M8698</link>
      <description>sure.  Just code it like any other X-type command.</description>
      <pubDate>Thu, 02 Dec 2010 21:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42480#M8698</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-12-02T21:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42481#M8699</link>
      <description>Why do you want to convert the files? Importing the text-file by using the infile-statements' termstr-option set to crlf works like charm.</description>
      <pubDate>Fri, 03 Dec 2010 10:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42481#M8699</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2010-12-03T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: convert flat files in PC format to Unix format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42482#M8700</link>
      <description>Thanks Andreas.</description>
      <pubDate>Mon, 06 Dec 2010 21:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convert-flat-files-in-PC-format-to-Unix-format/m-p/42482#M8700</guid>
      <dc:creator>4john</dc:creator>
      <dc:date>2010-12-06T21:37:29Z</dc:date>
    </item>
  </channel>
</rss>

