<?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: Unable to see the worksheets in the library after using the xlsx engine in SAS Certification</title>
    <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876254#M1584</link>
    <description>I used Sas 9.4. And this was during my certification test that I had this&lt;BR /&gt;problem. While practicing both on Sas studio and Sas 9.4 at home for the&lt;BR /&gt;exam, i had no issues.&lt;BR /&gt;&lt;BR /&gt;Sincerely&lt;BR /&gt;Uma&lt;BR /&gt;</description>
    <pubDate>Wed, 17 May 2023 15:11:39 GMT</pubDate>
    <dc:creator>Uma_Devi</dc:creator>
    <dc:date>2023-05-17T15:11:39Z</dc:date>
    <item>
      <title>Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876214#M1576</link>
      <description>&lt;P&gt;I used the following procedure to create a library using xlsx engine. there are twenty worksheets in the excel file. But in proc contents I am not able to see why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname xyz xlsx 'C:\Users\Mallik\Desktop\94basepe\input\SDTM_METADATA.xlsx';&lt;BR /&gt;run;&lt;BR /&gt;proc contents data =xyz._all_ ;&lt;BR /&gt;run;&lt;BR /&gt;proc datasets lib=xyz;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;libname xyz xlsxl'C:\Users\Mallik\Desktop\94basepe\input\SDTM_METADATA.xlsx';&lt;BR /&gt;NOTE: Libref XYZ was successfully assigned as follows:&lt;BR /&gt;Engine: EXCEL&lt;BR /&gt;Physical Name: C:\Users\Mallik\Desktop\94basepe\input\SDTM_METADATA.xlsx&lt;BR /&gt;19626 run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I use proc contents or proc datasets I am only able to see the following without the list of the sheets in the workbook. The library when verified by opening also had no files. Why did this happen???&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Uma_Devi_0-1684330288955.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84054i5687C93C49D34A9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Uma_Devi_0-1684330288955.png" alt="Uma_Devi_0-1684330288955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876214#M1576</guid>
      <dc:creator>Uma_Devi</dc:creator>
      <dc:date>2023-05-17T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876220#M1578</link>
      <description>&lt;P&gt;Since LIBNAME XLSX can be used to&amp;nbsp;&lt;EM&gt;create&lt;/EM&gt; a spreadsheet file, success of the LIBNAME statement does not mean the file is actually there; if it's not there, it would be created with the first write operation to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname xyz xlsx 'C:\Users\Mallik\Desktop\94basepe\input\SDTM_METADATA.xlsx';

data xyz.class;
set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and look at the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW LIBNAME is a&amp;nbsp;&lt;EM&gt;global&lt;/EM&gt; statement, which is executed immediately and needs no RUN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876220#M1578</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-17T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876225#M1580</link>
      <description>I had to access an excel workbook with several sheets and see the names of&lt;BR /&gt;the sheets. The workbook is supposed to have many sheets. But none were&lt;BR /&gt;visible in the proc contents procedure after creating the library with the&lt;BR /&gt;name of the xlsx file -- SDTM_metadata.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2023 13:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876225#M1580</guid>
      <dc:creator>Uma_Devi</dc:creator>
      <dc:date>2023-05-17T13:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876231#M1582</link>
      <description>&lt;P&gt;Please post the log from the code I gave you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876231#M1582</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-17T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876239#M1583</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/442660"&gt;@Uma_Devi&lt;/a&gt;&amp;nbsp;- Based on some earlier conversations, I think you sometimes use On Demand for Academics. Are you using On Demand for Academics for this code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876239#M1583</guid>
      <dc:creator>Mark2010</dc:creator>
      <dc:date>2023-05-17T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876254#M1584</link>
      <description>I used Sas 9.4. And this was during my certification test that I had this&lt;BR /&gt;problem. While practicing both on Sas studio and Sas 9.4 at home for the&lt;BR /&gt;exam, i had no issues.&lt;BR /&gt;&lt;BR /&gt;Sincerely&lt;BR /&gt;Uma&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2023 15:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876254#M1584</guid>
      <dc:creator>Uma_Devi</dc:creator>
      <dc:date>2023-05-17T15:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see the worksheets in the library after using the xlsx engine</title>
      <link>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876259#M1587</link>
      <description>&lt;P&gt;If using a locally installed version of SAS and accessing local files, then you should be OK. But following up on the point made by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;, The LIBNAME statement is going to work even if the argument for the Excel file location is wrong. Here is the example of me running your code on my computer:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mark2010_0-1684336782254.png" style="width: 528px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84058i510F981EAFB92652/image-dimensions/528x383?v=v2" width="528" height="383" role="button" title="Mark2010_0-1684336782254.png" alt="Mark2010_0-1684336782254.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Obviously I don't have your file nor your folder structure, but notice my LIBNAME statement does not produce an error. As expected, nothing is displayed in the PROC CONTENTS. I suggest that there is something wrong (such as a typo or the file doesn't exist) with the &lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;'C:\Users\Mallik\Desktop\94basepe\input\SDTM_METADATA.xlsx&lt;/FONT&gt;'&amp;nbsp;&lt;/FONT&gt;argument in your code.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 15:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/Unable-to-see-the-worksheets-in-the-library-after-using-the-xlsx/m-p/876259#M1587</guid>
      <dc:creator>Mark2010</dc:creator>
      <dc:date>2023-05-17T15:26:13Z</dc:date>
    </item>
  </channel>
</rss>

