<?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: Open .xpt in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787609#M32313</link>
    <description>&lt;P&gt;If your XPT is V8 version. Try this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname x v9 'c:\temp';
filename xpt 'c:\temp\temp.xpt';
%xpt2loc(libref=x,filespec=xpt)&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n1h21k9w9rnhz3n1lrk8s9eib2bt.htm" target="_blank"&gt;SAS Help Center: SAS V8 Transport File Format&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Dec 2021 12:40:28 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-12-29T12:40:28Z</dc:date>
    <item>
      <title>Open .xpt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787540#M32307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded a .xpt file for NHANES data. Could someone tell me how to open it with SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 19:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787540#M32307</guid>
      <dc:creator>Cloudwilliam</dc:creator>
      <dc:date>2021-12-28T19:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Open .xpt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787560#M32308</link>
      <description>&lt;P&gt;Use the LIBNAME statement to make a libref using the XPORT engine pointing at the file you downloaded.&lt;/P&gt;
&lt;P&gt;You can then reference the dataset by its name or use PROC COPY to copy it to a different libref, such as WORK.&lt;/P&gt;
&lt;PRE&gt;1     %let path=C:\Downloads;
2     libname nhanes xport "&amp;amp;path\DEMO_D.xpt";
NOTE: Libref NHANES was successfully assigned as follows:
      Engine:        XPORT
      Physical Name: C:\Downloads\DEMO_D.xpt
3     proc copy inlib=nhanes out=work;
4     run;

NOTE: Input library NHANES is sequential.
NOTE: Copying NHANES.DEMO_D to WORK.DEMO_D (memtype=DATA).
NOTE: BUFSIZE is not cloned when copying across different engines. System Option for BUFSIZE was used.
NOTE: There were 10348 observations read from the data set NHANES.DEMO_D.
NOTE: The data set WORK.DEMO_D has 10348 observations and 43 variables.
NOTE: PROCEDURE COPY used (Total process time):
      real time           0.06 seconds
      cpu time            0.06 seconds
&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Dec 2021 23:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787560#M32308</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-28T23:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Open .xpt</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787609#M32313</link>
      <description>&lt;P&gt;If your XPT is V8 version. Try this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname x v9 'c:\temp';
filename xpt 'c:\temp\temp.xpt';
%xpt2loc(libref=x,filespec=xpt)&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n1h21k9w9rnhz3n1lrk8s9eib2bt.htm" target="_blank"&gt;SAS Help Center: SAS V8 Transport File Format&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 12:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Open-xpt/m-p/787609#M32313</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-29T12:40:28Z</dc:date>
    </item>
  </channel>
</rss>

