<?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: ERROR: File WORK.IMPORT.DATA does not exist. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715381#M27352</link>
    <description>&lt;P&gt;Thank you for the response. This time it ran successfully with no errors, however, the majority of the data from the excel did not carry over.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 17:16:45 GMT</pubDate>
    <dc:creator>nmlynar13</dc:creator>
    <dc:date>2021-01-29T17:16:45Z</dc:date>
    <item>
      <title>ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715375#M27349</link>
      <description>&lt;P&gt;I have been trying to run the following code to import an excel data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname fin617 '/folders/myshortcuts/fin617';&lt;/P&gt;&lt;P&gt;data fin617.week1and2;&lt;BR /&gt;set import;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I return the following log with this error and warnings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 libname fin617 '/folders/myshortcuts/fin617';&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref FIN617 was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /folders/myshortcuts/fin617&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 data fin617.week1and2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 set import;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: File WORK.IMPORT.DATA does not exist.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The data set FIN617.WEEK1AND2 may be incomplete. When this step was stopped there were 0 observations and 0 variables.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Data set FIN617.WEEK1AND2 was not replaced because this step was stopped.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.09 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.02 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I am not sure of how to fix this or even what this error means. I have tried restarting the SAS program, my computer, and double checking the file name.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715375#M27349</guid>
      <dc:creator>nmlynar13</dc:creator>
      <dc:date>2021-01-29T17:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715377#M27350</link>
      <description>&lt;P&gt;The SET statement corresponds to your&amp;nbsp;&lt;U&gt;input&lt;/U&gt; data; the DATA statement is your &lt;U&gt;output&lt;/U&gt; data. It looks like you had those unknowingly mixed up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname fin617 '/folders/myshortcuts/fin617';

data import;
    set fin617.week1and2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The code you originally had was attempting to create the dataset fin617.week1and2 using WORK.IMPORT (which does not exist), instead of what it sounds like you intended:&amp;nbsp;creating&amp;nbsp;WORK.IMPORT using&amp;nbsp;fin617.week1and2.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715377#M27350</guid>
      <dc:creator>mklangley</dc:creator>
      <dc:date>2021-01-29T17:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715380#M27351</link>
      <description>&lt;P&gt;You are trying to use a dataset IMPORT in library WORK which is not there.&lt;/P&gt;
&lt;P&gt;Keep in mind that WORK is a temporary library which is deleted (with all its content) when a SAS session terminates.&lt;/P&gt;
&lt;P&gt;So if you have another code that is supposed to create IMPORT, run it first.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715380#M27351</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-29T17:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715381#M27352</link>
      <description>&lt;P&gt;Thank you for the response. This time it ran successfully with no errors, however, the majority of the data from the excel did not carry over.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715381#M27352</guid>
      <dc:creator>nmlynar13</dc:creator>
      <dc:date>2021-01-29T17:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715386#M27353</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/366638"&gt;@nmlynar13&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... however, the majority of the data from the excel did not carry over.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do you mean? Did&amp;nbsp;&lt;EM&gt;some &lt;/EM&gt;but not all&amp;nbsp;of the data come into WORK.IMPORT?&lt;/P&gt;
&lt;P&gt;Is WEEK1AND2 an Excel file or a SAS dataset?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:24:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715386#M27353</guid>
      <dc:creator>mklangley</dc:creator>
      <dc:date>2021-01-29T17:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715388#M27355</link>
      <description>&lt;P&gt;Yes exactly. The excel file&amp;nbsp; "week1and2" has about 36 columns for 640 rows. This produced 2 columns and 0 rows in SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715388#M27355</guid>
      <dc:creator>nmlynar13</dc:creator>
      <dc:date>2021-01-29T17:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715391#M27357</link>
      <description>&lt;P&gt;I'm not entirely sure how to create an import. I am entirely new to coding all together, not just SAS. This code was given to me through a professor with step by step instructions on how to reproduce what he had create. Intended to show us the basics of SAS, however, I continually get this error message and am unsure what steps to take. Unfortunately when I reached out to him for help, he did not answer.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715391#M27357</guid>
      <dc:creator>nmlynar13</dc:creator>
      <dc:date>2021-01-29T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.IMPORT.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715394#M27358</link>
      <description>&lt;P&gt;You might be better off using an IMPORT statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let fin617 = /folders/myshortcuts/fin617/;

proc import datafile = "&amp;amp;fin617.week1and2.xlsx"
    out=import
    replace
    dbms=xlsx;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is assuming your file is named &lt;EM&gt;week1and2.xlsx&lt;/EM&gt; (case sensitive).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:35:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-IMPORT-DATA-does-not-exist/m-p/715394#M27358</guid>
      <dc:creator>mklangley</dc:creator>
      <dc:date>2021-01-29T17:35:10Z</dc:date>
    </item>
  </channel>
</rss>

