<?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 Reading a data file using SAS ODBC in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178834#M45643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to read a .dat file (data file) which i couldnt read as a text file???using &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 00:38:14 GMT</pubDate>
    <dc:creator>BharathBandi</dc:creator>
    <dc:date>2015-02-23T00:38:14Z</dc:date>
    <item>
      <title>Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178834#M45643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to read a .dat file (data file) which i couldnt read as a text file???using &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 00:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178834#M45643</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2015-02-23T00:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178835#M45644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODBC is mostly used for reading database tables not data/text files. What does the .DAT file look like when viewed in a text editor? Does it have aligned rows and columns or is a delimiter used to separate columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What issues are you having reading it? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 01:59:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178835#M45644</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-02-23T01:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178836#M45645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not opening in text editor, when tried data is crashed.&lt;/P&gt;&lt;P&gt;I basically want to read a .dat file that is copied from exchequer database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 03:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178836#M45645</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2015-02-23T03:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178837#M45646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How big is the file? Most likely it is the file size that is causing the text editor problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try reading a few records in SAS to see what the record layout is by writing the first 5 records to the SAS log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile "YourFileName.dat" obs = 5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 07:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178837#M45646</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-02-23T07:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178838#M45647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it copied or exported from the database?&lt;/P&gt;&lt;P&gt;Is there any documentation about the structure?&lt;/P&gt;&lt;P&gt;If not, return to sender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 08:18:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178838#M45647</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-23T08:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178839#M45648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I recall it correctly, I think.dat was the default extension for export/backup-files in (very) old versions of SQL Server.&lt;/P&gt;&lt;P&gt;If this is such file, you can't import it either way (ODBC nor text file import). &lt;/P&gt;&lt;P&gt;Verify your source, before trying to import it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178839#M45648</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-02-23T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178840#M45649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Files are quite small something around 100 KB.&lt;/P&gt;&lt;P&gt;These files are extracted from Pervasive DB which has a default extension .Dat. which cannot be opened in text editor.&lt;/P&gt;&lt;P&gt;The only way I can read this file is through ODBC connection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 20:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178840#M45649</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2015-02-23T20:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178841#M45650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is default extension and these files are extracted from pervasive db.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 20:44:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178841#M45650</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2015-02-23T20:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178842#M45651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think this is a SAS question. How you can be able to access this data via ODBC is a question for Actian/Pervasive DB.&lt;/P&gt;&lt;P&gt;Once you secured ODBC access to your source data, then you can go to SAS and try to connect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 20:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178842#M45651</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-02-23T20:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178843#M45652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will also need the SAS product SAS/ACCESS to ODBC both installed and licensed if you wish to extract ODBC data using SAS code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 22:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178843#M45652</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-02-23T22:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178844#M45653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you can already open the data in, say, Excel via the ODBC connection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 07:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178844#M45653</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-24T07:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a data file using SAS ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178845#M45654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all . We need to buy &lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Btrieve odbc drivers, it solves the problem. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 01:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-a-data-file-using-SAS-ODBC/m-p/178845#M45654</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2015-02-25T01:57:29Z</dc:date>
    </item>
  </channel>
</rss>

