<?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: import XPT file into SAS OnDemand Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846883#M10670</link>
    <description>&lt;P&gt;You should write to the NIH and ask them to update their documentation to explain WHAT TYPE of SAS transport file they are providing.&amp;nbsp; They just seem to mention XPT and "transport file" on their web page.&amp;nbsp; Neither that extension nor that phase helps distinquish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But they are using the old SAS version 5 transport files.&amp;nbsp; So use a LIBNAME statement with the XPORT engine.&lt;/P&gt;
&lt;P&gt;You could use PROC COPY.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname nhanes xport 'demo_j.xpt';
proc copy inlib=nhanes out=work; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or since they include only one dataset per file just a data step.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname nhanes xport 'demo_j.xpt';
data demo_j;
  set nhanes.demo_j;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 18:21:59 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-11-29T18:21:59Z</dc:date>
    <item>
      <title>import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846862#M10667</link>
      <description>&lt;P&gt;I am a new user. Can anyone explain to me how to import an XPT file into SAS OnDemand Studio? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 17:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846862#M10667</guid>
      <dc:creator>u58975985</dc:creator>
      <dc:date>2022-11-29T17:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846865#M10668</link>
      <description>&lt;P&gt;To move an XPT file into SAS/Studio the first step is UPLOAD the file to the server where the SAS Session SAS/Studio is using is running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For us to help you convert the XPT file into a SAS dataset you need to explain what TYPE of file the XPT file is.&amp;nbsp; SAS has two main transport formats it supports.&amp;nbsp; The files produced by PROC CPORT and those using the published transport format that is support by the XPORT libname engine (for dataset that comply with the older restrictions of SAS version 5 and 6 on variable names and character variable lengths)&amp;nbsp; or the SAS supplied %LOC2XPT and %XPT2LOC macros for SAS datasets that use longer variables names or longer character variables.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 17:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846865#M10668</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-29T17:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846880#M10669</link>
      <description>I don't actually know what type of XPT files I have. They are files provided by a federal agency (CDC NHANES). Is there anyway to tell from the files?</description>
      <pubDate>Tue, 29 Nov 2022 18:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846880#M10669</guid>
      <dc:creator>u58975985</dc:creator>
      <dc:date>2022-11-29T18:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846883#M10670</link>
      <description>&lt;P&gt;You should write to the NIH and ask them to update their documentation to explain WHAT TYPE of SAS transport file they are providing.&amp;nbsp; They just seem to mention XPT and "transport file" on their web page.&amp;nbsp; Neither that extension nor that phase helps distinquish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But they are using the old SAS version 5 transport files.&amp;nbsp; So use a LIBNAME statement with the XPORT engine.&lt;/P&gt;
&lt;P&gt;You could use PROC COPY.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname nhanes xport 'demo_j.xpt';
proc copy inlib=nhanes out=work; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or since they include only one dataset per file just a data step.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname nhanes xport 'demo_j.xpt';
data demo_j;
  set nhanes.demo_j;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 18:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846883#M10670</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-29T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846907#M10671</link>
      <description>Thank you. I really appreciate your help.</description>
      <pubDate>Tue, 29 Nov 2022 20:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846907#M10671</guid>
      <dc:creator>u58975985</dc:creator>
      <dc:date>2022-11-29T20:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846958#M10672</link>
      <description>&lt;P&gt;Open your XPT file with Notepad or Notepad++.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1669771900904.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77835i3FAD16A131A660BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1669771900904.png" alt="Ksharp_0-1669771900904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1669772042223.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77836i463C7FDA8789D2AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1669772042223.png" alt="Ksharp_1-1669772042223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 01:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846958#M10672</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-30T01:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846960#M10673</link>
      <description>&lt;P&gt;Note there is no need to use NOTEPAD+, just use a data step.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile 'myfile.xpt' recfm=f lrecl=80 obs=3 ;
  input;
  list;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Plus you left out the CPORT transport file format.&amp;nbsp; There is no reason someone could not create a file using PROC CPORT and name the file with .XPT extension. And frequently they do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 01:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846960#M10673</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-30T01:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846961#M10674</link>
      <description>Tom,&lt;BR /&gt;" CPORT transport file format " is not a real  XPT file . FDA would not accept it &lt;BR /&gt;As you said , federal agency (CDC NHANES) is usually prefer V5 XPT ,not V8 XPT file.</description>
      <pubDate>Wed, 30 Nov 2022 01:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846961#M10674</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-30T01:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846962#M10675</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Tom,&lt;BR /&gt;" CPORT transport file format " is not a real XPT file . FDA would not accept it &lt;BR /&gt;As you said , federal agency (CDC NHANES) is usually prefer V5 XPT ,not V8 XPT file.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;The XPT extension has no fixed file format associated with it.&amp;nbsp; &amp;nbsp;The CPORT transport file is a transport file. That is the point I was making.&amp;nbsp;Whether or not the FDA would accept it does not matter.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 02:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846962#M10675</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-30T02:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846963#M10676</link>
      <description>That is not ture. &lt;BR /&gt;In the Pharamacy field ,Especially for sas programmer ,you only can use v5(most time) or v8 xpt file,&lt;BR /&gt;Not the file generated by PROC CPORT (which can make any suffix ,like .xpt .bat .tom .ksharp).&lt;BR /&gt;&lt;BR /&gt;If you are in other field other than Pharmacy, you can use PROC CPORT to transport your sas datasets, but in Pharmacy ,you can't .</description>
      <pubDate>Wed, 30 Nov 2022 02:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846963#M10676</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-30T02:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846964#M10677</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;That is not ture. &lt;BR /&gt;In the Pharamacy field ,Especially for sas programmer ,you only can use v5(most time) or v8 xpt file,&lt;BR /&gt;Not the file generated by PROC CPORT (which can make any suffix ,like .xpt .bat .tom .ksharp).&lt;BR /&gt;&lt;BR /&gt;If you are in other field other than Pharmacy, you can use PROC CPORT to transport your sas datasets, but in Pharmacy ,you can't .&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I have been in the field for 30 years and I can tell you have seen thousands of CPORT files of clinical dataset that have been created with .XPT as the file extension.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 02:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846964#M10677</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-30T02:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846966#M10678</link>
      <description>OK.&lt;BR /&gt;Then Why did federal agency (CDC NHANES / FDA)  usually posted V5 XPT ,not the file generated by PROC CPORT ?&lt;BR /&gt;Since the file generated by PROC CPORT has many advantage than V5 XPT (like V8 XPT,no limited 8-byte variable name,no limited 200 of character variable).&lt;BR /&gt;Then Why did SAS create a new macro %loc2xpt to create V8 XPT ,since there is already PROC CPORT ?</description>
      <pubDate>Wed, 30 Nov 2022 05:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/846966#M10678</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-30T05:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/847035#M10679</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;OK.&lt;BR /&gt;Then Why did federal agency (CDC NHANES / FDA) usually posted V5 XPT ,not the file generated by PROC CPORT ?&lt;BR /&gt;Since the file generated by PROC CPORT has many advantage than V5 XPT (like V8 XPT,no limited 8-byte variable name,no limited 200 of character variable).&lt;BR /&gt;Then Why did SAS create a new macro %loc2xpt to create V8 XPT ,since there is already PROC CPORT ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More non-sequiturs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason that the FDA requested V5 transport files is they prefer to use published standard formats.&amp;nbsp; SAS published to format of the V5 transport files.&amp;nbsp; And when SAS enhanced the format to support longer names and longer variables they published that format also.&amp;nbsp; (Why the heck SAS generates these file using macros instead of making an libname engine I have no idea)&amp;nbsp; So again the FDA would prefer the receive either of the two formats that SAS has published the specification of.&amp;nbsp; But whether or not the FDA accepts a particular file format is not&amp;nbsp; really at all related to the question of what type of file someone has sent you when it is named with an XPT extension or they call it a "transport file".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;XPT as an extension is not determinative of the type of file.&amp;nbsp; Unlike a file with an extension of XLSX or XLS where you are 99% sure that the file is an Excel workbook.&amp;nbsp; When you have a file with a name 'XPT' or someone says they are sending your a "transport file" you have to always check to be sure what type of file they have actually sent you.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NIH publishes NHANES data using V5 transport file format.&amp;nbsp; And they use the XPT as the file naming convention on the NHANES site, but that fact was not readily obvious from the WORDS they published on the site.&amp;nbsp; "The proof of the pudding is in the eating",&amp;nbsp; so for the files with NHANES data you have to actually attempt to read (or at least examine) the file to be confident of the file format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps if I write it as code it will be easier to understand?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;'XPT' ne 'V5 Transport file'
'XPT'&amp;nbsp;ne&amp;nbsp;'CPORT&amp;nbsp;Transport&amp;nbsp;file'
'XPT'&amp;nbsp;ne&amp;nbsp;'%loc2xpt()&amp;nbsp;generated transport&amp;nbsp;file'
'Transport file' ne 'V5 Transport file'
'Transport file'&amp;nbsp;ne&amp;nbsp;'CPORT&amp;nbsp;Transport&amp;nbsp;file'
'Transport file'&amp;nbsp;ne&amp;nbsp;'%loc2xpt()&amp;nbsp;generated transport&amp;nbsp;file'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/847035#M10679</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-30T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/847199#M10680</link>
      <description>Tom,&lt;BR /&gt;"But whether or not the FDA accepts a particular file format is not  really at all related to the question of what type of file someone has sent you when it is named with an XPT extension or they call it a "transport file". "&lt;BR /&gt;&lt;BR /&gt;Yes. You can use the transport file generated by PROC CPORT at anytime  anywhere , as long as you tell receiver to use PROC CIMPORT to import it , that is also called transport file. But that is not standard and not official and can't submit it to FDA .</description>
      <pubDate>Thu, 01 Dec 2022 07:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/847199#M10680</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-12-01T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986213#M11555</link>
      <description>Thanks for your response. I have same problem and after using the code, I got an error: "physical file does not exist". What could be responsible?&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Apr 2026 00:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986213#M11555</guid>
      <dc:creator>Ok6</dc:creator>
      <dc:date>2026-04-13T00:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986214#M11556</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/481180"&gt;@Ok6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks for your response. I have same problem and after using the code, I got an error: "physical file does not exist". What could be responsible?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is usually caused by not using the actual name of the file.&lt;/P&gt;
&lt;P&gt;You might simply have a typo.&amp;nbsp; Remember that on Unix file names are case sensitive.&amp;nbsp; So myfile.xpt is not the same file as MyFile.XPT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be looking for the file in the wrong directory (or "folder").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be using the name the file has on your PC and not the name that the file has on the machine were SAS is running.&amp;nbsp; Remember if you are using a tool like SAS/Studio or Enterprise Guide to compose and submit your SAS programs that it is the machine where SAS itself is running and not the machine that is running your user interface that is important.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember when use a LIBNAME statement with the XPORT engine that SAS does not know whether your intention is to READ from the libref that is created or WRITE to it.&amp;nbsp; So the LIBNAME statement will not fail if the file does not exist.&amp;nbsp; Instead the failure will come when you try to read from the file that the libref pointed to.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 01:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986214#M11556</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-04-13T01:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986215#M11557</link>
      <description>Thanks but error persists.</description>
      <pubDate>Mon, 13 Apr 2026 02:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986215#M11557</guid>
      <dc:creator>Ok6</dc:creator>
      <dc:date>2026-04-13T02:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986217#M11558</link>
      <description>&lt;P&gt;What. Error exactly?&amp;nbsp; What code did you run?&lt;/P&gt;
&lt;P&gt;Did you try running the simple data step to LOOK at the file that I posted before?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "put the name of the file you want to read here" obs=5 recfm=f lrecl=80 ;
  input;
  list;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If that says the file cannot be found, then you are using the wrong name for the file.&lt;/P&gt;
&lt;P&gt;If it can be found then make sure the content looks like a SAS XPORT file.&amp;nbsp; The lines written to the SAS log by the LIST statement should look something like this it is is a real XPORT file.&lt;/P&gt;
&lt;PRE&gt; RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 1         HEADER RECORD*******LIBRARY HEADER RECORD!!!!!!!000000000000000000000000000000  
 
 2   CHAR  SAS     SAS     SASLIB  9.4     Linux...                        12APR26:22:41:34
     ZONE  54522222545222225454442232322222466770002222222222222222222222223345533333333333
     NUMR  3130000031300000313C92009E400000C9E580000000000000000000000000001210226A22A41A34
 3         12APR26:22:41:34                                                                
 4         HEADER RECORD*******MEMBER  HEADER RECORD!!!!!!!000000000000000001600000000140  
 5         HEADER RECORD*******DSCRPTR HEADER RECORD!!!!!!!000000000000000000000000000000  
 NOTE: 5 records were read from the infile ...&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 02:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986217#M11558</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-04-13T02:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986263#M11559</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/481180"&gt;@Ok6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thanks but error persists.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best practice for this forum is to show the code and any messages from the log. Copy the text from the log starting with the code statements submitted that are having an issue through the end of&amp;nbsp;&lt;STRONG&gt;all&lt;/STRONG&gt; of the messages associated with the code. On the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the copied text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The text box is important because the software running the forum will reformat text pasted into the main message window that sometimes reduces the readability or completeness of the diagnostics that SAS often supplies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case of "file doesn't exist" type messages common problems are spelling , case of text, actual location of the file such as attempting to use a local to your computer file where the server running SAS cannot see it. If you show the actual code and messages we can help better. Also, it would be better to start your own thread instead of adding to an older thread. The creator of the thread has options available such as marking an answer correct that others do not. If you do start your own thread you can post a link to this one to reference what has been done so far.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 17:02:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986263#M11559</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-04-13T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: import XPT file into SAS OnDemand Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986322#M11560</link>
      <description>&lt;P&gt;The usual mistake that causes the "physical file does not exist" message comes from trying to read a local (residing on your PC) file in the remote (running on a server) SAS session. You must upload the file to the On Demand server first (Studio can do this) and then use the path on the server in your code. You can get the complete path through the properties of the file by right-clicking on it in the file navigation tab of SAS Studio.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 06:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/m-p/986322#M11560</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-04-14T06:21:43Z</dc:date>
    </item>
  </channel>
</rss>

