<?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: Importing .sasbat in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118332#M32663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Mit wrote: The data is already stored as a SAS file so you need only to define a libname to access it within your SAS program, e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mylib '' '//gaserver';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=mylib.myfile;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 03:26:16 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2013-10-21T03:26:16Z</dc:date>
    <item>
      <title>Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118330#M32661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;libname adhoc_vb&amp;nbsp; pcfiles&lt;/P&gt;&lt;P&gt;path&amp;nbsp; = '//gaserver/myfile.sas7bat'&lt;/P&gt;&lt;P&gt;server= "2233";&lt;/P&gt;&lt;P&gt;port = 2234;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile = '//gaserver/myfile.sas7bat'&lt;/P&gt;&lt;P&gt;out = order1;&lt;/P&gt;&lt;P&gt;dbms =&lt;/P&gt;&lt;P&gt;server= "2233";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to import ths file called myfile.sasbat.&amp;nbsp; In this case what would the dbms be called or is there another way to import a file with the .sasbat file extension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 01:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118330#M32661</guid>
      <dc:creator>omega1983</dc:creator>
      <dc:date>2013-10-21T01:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118331#M32662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to import a sas data.&lt;BR /&gt;If your library is defined ok then you can open the data directly. Just check if the libname is successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 01:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118331#M32662</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-21T01:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118332#M32663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Mit wrote: The data is already stored as a SAS file so you need only to define a libname to access it within your SAS program, e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mylib '' '//gaserver';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=mylib.myfile;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 03:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118332#M32663</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-10-21T03:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118333#M32664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a related question that isn't answered yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a .sasbat file.&amp;nbsp; I want to use proc import so that I don't have to list the near hundred variables in an input statement.&amp;nbsp; Is there no way to get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 12:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118333#M32664</guid>
      <dc:creator>dnuti</dc:creator>
      <dc:date>2014-11-18T12:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118334#M32665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sasbat is not a common file suffix that I'm aware of. What file type is it?&lt;/P&gt;&lt;P&gt;What does it look like when opened in Notepad/vi?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118334#M32665</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-11-18T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118335#M32666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It cannot be opened in anything but SAS.&amp;nbsp; Otherwise it's giberish.&amp;nbsp; Not an original file but I don't have access to an original file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118335#M32666</guid>
      <dc:creator>dnuti</dc:creator>
      <dc:date>2014-11-18T13:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118336#M32667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rename it to .sas&lt;STRONG&gt;7&lt;/STRONG&gt;b&lt;STRONG&gt;d&lt;/STRONG&gt;at, put it into a location where you have assigned a libname, and see if it is a valid SAS dataset. If not, discard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118336#M32667</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-18T13:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118337#M32668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a valid dataset.&amp;nbsp; &lt;/P&gt;&lt;P&gt;How do I get around listing each variable name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118337#M32668</guid>
      <dc:creator>dnuti</dc:creator>
      <dc:date>2014-11-18T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing .sasbat</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118338#M32669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to import it, just use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 14:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-sasbat/m-p/118338#M32669</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-18T14:18:18Z</dc:date>
    </item>
  </channel>
</rss>

