<?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 while loading data to mylib in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800011#M33182</link>
    <description>&lt;P&gt;That isn't how you access an Excel sheet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can access it via a libname but it would have to point directly to the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This blog post covers the topic of how to access an Excel file using the libname option.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you can import the Excel file and then save it to a library as a SAS data set to access later.&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/418711"&gt;@NewUserSravya&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;BR /&gt;I'm new to SAS and below is&amp;nbsp; the code for creating new library and importing data to library from excel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code&lt;BR /&gt;libname mylib '/home/u61033161';&lt;BR /&gt;data employee;&lt;BR /&gt;set mylib.employee;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Response :&lt;/P&gt;
&lt;DIV class=""&gt;69 libname mylib '/home/u61033161';&lt;/DIV&gt;
&lt;DIV class=""&gt;NOTE: Libref MYLIB was successfully assigned as follows:&lt;/DIV&gt;
&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;
&lt;DIV class=""&gt;Physical Name: /home/u61033161&lt;/DIV&gt;
&lt;DIV class=""&gt;70 data employee;&lt;/DIV&gt;
&lt;DIV class=""&gt;71 set mylib.employee;&lt;/DIV&gt;
&lt;DIV class=""&gt;ERROR: File MYLIB.EMPLOYEE.&lt;STRONG&gt;DATA does not exist.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;72 run;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;even though the data is available in excel sheet i am getting the above error when i execute the code.&lt;/DIV&gt;
&lt;DIV class=""&gt;can anyone guide me through.&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 23:45:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-03-03T23:45:21Z</dc:date>
    <item>
      <title>Error while loading data to mylib</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800007#M33181</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I'm new to SAS and below is&amp;nbsp; the code for creating new library and importing data to library from excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code&lt;BR /&gt;libname mylib '/home/u61033161';&lt;BR /&gt;data employee;&lt;BR /&gt;set mylib.employee;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Response :&lt;/P&gt;&lt;DIV class=""&gt;69 libname mylib '/home/u61033161';&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: Libref MYLIB was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class=""&gt;Physical Name: /home/u61033161&lt;/DIV&gt;&lt;DIV class=""&gt;70 data employee;&lt;/DIV&gt;&lt;DIV class=""&gt;71 set mylib.employee;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: File MYLIB.EMPLOYEE.&lt;STRONG&gt;DATA does not exist.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;72 run;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;even though the data is available in excel sheet i am getting the above error when i execute the code.&lt;/DIV&gt;&lt;DIV class=""&gt;can anyone guide me through.&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Mar 2022 23:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800007#M33181</guid>
      <dc:creator>NewUserSravya</dc:creator>
      <dc:date>2022-03-03T23:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data to mylib</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800011#M33182</link>
      <description>&lt;P&gt;That isn't how you access an Excel sheet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can access it via a libname but it would have to point directly to the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This blog post covers the topic of how to access an Excel file using the libname option.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you can import the Excel file and then save it to a library as a SAS data set to access later.&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/418711"&gt;@NewUserSravya&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;BR /&gt;I'm new to SAS and below is&amp;nbsp; the code for creating new library and importing data to library from excel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code&lt;BR /&gt;libname mylib '/home/u61033161';&lt;BR /&gt;data employee;&lt;BR /&gt;set mylib.employee;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Response :&lt;/P&gt;
&lt;DIV class=""&gt;69 libname mylib '/home/u61033161';&lt;/DIV&gt;
&lt;DIV class=""&gt;NOTE: Libref MYLIB was successfully assigned as follows:&lt;/DIV&gt;
&lt;DIV class=""&gt;Engine: V9&lt;/DIV&gt;
&lt;DIV class=""&gt;Physical Name: /home/u61033161&lt;/DIV&gt;
&lt;DIV class=""&gt;70 data employee;&lt;/DIV&gt;
&lt;DIV class=""&gt;71 set mylib.employee;&lt;/DIV&gt;
&lt;DIV class=""&gt;ERROR: File MYLIB.EMPLOYEE.&lt;STRONG&gt;DATA does not exist.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;72 run;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;even though the data is available in excel sheet i am getting the above error when i execute the code.&lt;/DIV&gt;
&lt;DIV class=""&gt;can anyone guide me through.&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 23:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800011#M33182</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-03-03T23:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data to mylib</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800129#M33187</link>
      <description>&lt;P&gt;I usually just use proc import to get data from Excel.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-while-loading-data-to-mylib/m-p/800129#M33187</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-03-04T13:11:45Z</dc:date>
    </item>
  </channel>
</rss>

