<?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: XPT to SAS Extraction - Library does not exist, physical file does not exist in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564155#M158214</link>
    <description>&lt;P&gt;How would I go about checking this? I am very, very new to SAS. Ran into this issue trying to follow the first step of a tutorial.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 15:12:16 GMT</pubDate>
    <dc:creator>THaney</dc:creator>
    <dc:date>2019-06-06T15:12:16Z</dc:date>
    <item>
      <title>XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564133#M158208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm brand new to SAS so apologies if this is an easily solvable issue. I'm trying to extract an XPT file to a SAS file. The file locations are all correct, and the file is named correctly in the TEMP folder. I've been playing around with this for quite some time and just can't get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;libname NH "C:\SAS\NewData";&lt;BR /&gt;libname XP xport "C:\SAS\TEMP\wb.xpt";&lt;BR /&gt;proc copy in=XP out=NH;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log:&lt;/P&gt;&lt;P&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;24&lt;BR /&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26 libname NH "C:\SAS\NewData";&lt;BR /&gt;NOTE: Library NH does not exist.&lt;BR /&gt;27 libname XP xport "C:\SAS\TEMP\wb.xpt";&lt;BR /&gt;NOTE: Libref XP was successfully assigned as follows:&lt;BR /&gt;Engine: XPORT&lt;BR /&gt;Physical Name: C:\SAS\TEMP\wb.xpt&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;28 proc copy in=XP out=NH;&lt;BR /&gt;29 run;&lt;/P&gt;&lt;P&gt;WARNING: Library NH does not exist.&lt;BR /&gt;NOTE: Input library XP is sequential.&lt;BR /&gt;ERROR: Physical file does not exist, C:\SAS\TEMP\wb.xpt.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE COPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any good ideas that would be great! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 14:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564133#M158208</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T14:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564144#M158209</link>
      <description>&lt;P&gt;Is there a folder called NewData?&lt;/P&gt;
&lt;P&gt;Can you show a screenshot of those folders?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"C:\SAS\NewData"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Usually SAS is pretty correct about the folders not existing or the paths being incorrect.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/276946"&gt;@THaney&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm brand new to SAS so apologies if this is an easily solvable issue. I'm trying to extract an XPT file to a SAS file. The file locations are all correct, and the file is named correctly in the TEMP folder. I've been playing around with this for quite some time and just can't get it to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;libname NH "C:\SAS\NewData";&lt;BR /&gt;libname XP xport "C:\SAS\TEMP\wb.xpt";&lt;BR /&gt;proc copy in=XP out=NH;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the log:&lt;/P&gt;
&lt;P&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;24&lt;BR /&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26 libname NH "C:\SAS\NewData";&lt;BR /&gt;NOTE: Library NH does not exist.&lt;BR /&gt;27 libname XP xport "C:\SAS\TEMP\wb.xpt";&lt;BR /&gt;NOTE: Libref XP was successfully assigned as follows:&lt;BR /&gt;Engine: XPORT&lt;BR /&gt;Physical Name: C:\SAS\TEMP\wb.xpt&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;28 proc copy in=XP out=NH;&lt;BR /&gt;29 run;&lt;/P&gt;
&lt;P&gt;WARNING: Library NH does not exist.&lt;BR /&gt;NOTE: Input library XP is sequential.&lt;BR /&gt;ERROR: Physical file does not exist, C:\SAS\TEMP\wb.xpt.&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE COPY used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone has any good ideas that would be great! Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:03:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564144#M158209</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-06T15:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564147#M158210</link>
      <description>&lt;P&gt;When you first make the libref for the XPORT file SAS doesn't know whether you are going to use it to read or write.&amp;nbsp; So this line works whether the files is there or not.&lt;/P&gt;
&lt;PRE&gt;27 libname XP xport "C:\SAS\TEMP\wb.xpt";
NOTE: Libref XP was successfully assigned as follows:
Engine: XPORT
Physical Name: C:\SAS\TEMP\wb.xpt&lt;/PRE&gt;
&lt;P&gt;If you tried to WRITE to that libref then SAS would create the file.&lt;/P&gt;
&lt;P&gt;But when you tried READ from that file SAS complains because there isn't really a file with that name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564147#M158210</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-06T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564152#M158211</link>
      <description>&lt;P&gt;Sure! Here are some screenshots.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS folder.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30074i35FEFBFCBFABB4B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS folder.PNG" alt="SAS folder.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TEMP folder.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30075i155968A1E219138A/image-size/large?v=v2&amp;amp;px=999" role="button" title="TEMP folder.PNG" alt="TEMP folder.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564152#M158211</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564153#M158212</link>
      <description>Is SAS running locally or on a server?</description>
      <pubDate>Thu, 06 Jun 2019 15:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564153#M158212</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-06T15:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564154#M158213</link>
      <description>&lt;P&gt;Hmmm I see. But there is a file with that name, or at least, I can see one with that name. It seems like SAS can't for some reason.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:11:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564154#M158213</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564155#M158214</link>
      <description>&lt;P&gt;How would I go about checking this? I am very, very new to SAS. Ran into this issue trying to follow the first step of a tutorial.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564155#M158214</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T15:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564158#M158215</link>
      <description>&lt;P&gt;Never mind, found it. Connected to a server.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564158#M158215</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564160#M158216</link>
      <description>Which means that it's not seeing your desktop so the C drive of your desktop is not what it's accessing, it's accessing the server's C drive. So you need to move your files to the server OR see if you can run it locally.</description>
      <pubDate>Thu, 06 Jun 2019 15:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564160#M158216</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-06T15:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: XPT to SAS Extraction - Library does not exist, physical file does not exist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564165#M158219</link>
      <description>&lt;P&gt;Ah. I see. That makes sense. Thanks for the help, I'll work on seeing if I can get the files on the server or if I can run SAS locally.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XPT-to-SAS-Extraction-Library-does-not-exist-physical-file-does/m-p/564165#M158219</guid>
      <dc:creator>THaney</dc:creator>
      <dc:date>2019-06-06T15:23:20Z</dc:date>
    </item>
  </channel>
</rss>

