<?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 Importing all the sheets in a excel file using libname statement. But getting errors in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105688#M892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to import all the sheets in a excel file using libname statement. But getting errors&lt;/P&gt;&lt;P&gt;libname klm ("C:\Documents and Settings\devarayulu.balanagu\Des&lt;/P&gt;&lt;P&gt;ktop\Test.xls");&lt;/P&gt;&lt;P&gt;This statement has created four datasets in libref dsd.&lt;/P&gt;&lt;P&gt;1)Change_status_Rev1$&lt;/P&gt;&lt;P&gt;2)Change_status_Rev2$&lt;/P&gt;&lt;P&gt;3)Template$&lt;/P&gt;&lt;P&gt;4)Template$_FilterDatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we right click on these tables name feild is blank.&lt;/P&gt;&lt;P&gt;Actually what are these datafiles, shall we can use as sas datasets. if so why the following code is not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=klm.Change_status_Rev2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ERROR: File KLM.Change_status_Rev2.DATA does not exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 05:12:19 GMT</pubDate>
    <dc:creator>devarayalu</dc:creator>
    <dc:date>2012-08-28T05:12:19Z</dc:date>
    <item>
      <title>Importing all the sheets in a excel file using libname statement. But getting errors</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105688#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to import all the sheets in a excel file using libname statement. But getting errors&lt;/P&gt;&lt;P&gt;libname klm ("C:\Documents and Settings\devarayulu.balanagu\Des&lt;/P&gt;&lt;P&gt;ktop\Test.xls");&lt;/P&gt;&lt;P&gt;This statement has created four datasets in libref dsd.&lt;/P&gt;&lt;P&gt;1)Change_status_Rev1$&lt;/P&gt;&lt;P&gt;2)Change_status_Rev2$&lt;/P&gt;&lt;P&gt;3)Template$&lt;/P&gt;&lt;P&gt;4)Template$_FilterDatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we right click on these tables name feild is blank.&lt;/P&gt;&lt;P&gt;Actually what are these datafiles, shall we can use as sas datasets. if so why the following code is not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=klm.Change_status_Rev2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ERROR: File KLM.Change_status_Rev2.DATA does not exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 05:12:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105688#M892</guid>
      <dc:creator>devarayalu</dc:creator>
      <dc:date>2012-08-28T05:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Importing all the sheets in a excel file using libname statement. But getting errors</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105689#M893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;libname klm excel "C:\Documents and Settings\devarayulu.balanagu\Des&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ktop\Test.xls";&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Now hopefully u'll get these files in the library klm:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;1)Change_status_Rev1$&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2)Change_status_Rev2$&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3)Template$&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4)Template$_FilterDatabase&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Next write the proc print statement:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Proc print data&amp;nbsp; = klm."&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Change_status_Rev1$&lt;/SPAN&gt;"n;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hope this helps.Good luck&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Shaheen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 08:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105689#M893</guid>
      <dc:creator>ShaheenRanalvi</dc:creator>
      <dc:date>2012-08-28T08:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing all the sheets in a excel file using libname statement. But getting errors</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105690#M894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;With proc print, i am getting expected output along with junk. How to get rid of junk? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 08:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105690#M894</guid>
      <dc:creator>devarayalu</dc:creator>
      <dc:date>2012-08-28T08:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing all the sheets in a excel file using libname statement. But getting errors</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105691#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide your spreadsheet and points out the output junk which you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 05:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105691#M895</guid>
      <dc:creator>bnarang</dc:creator>
      <dc:date>2012-09-08T05:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing all the sheets in a excel file using libname statement. But getting errors</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105692#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are getting is the whole content of the Change_status_Rev1 datasheet. You can also specify a range of cells, as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;Proc print data&amp;nbsp; = klm.'&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Change_status_Rev1$A1:E99'&lt;/SPAN&gt;n;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 16:06:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Importing-all-the-sheets-in-a-excel-file-using-libname-statement/m-p/105692#M896</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-09-09T16:06:47Z</dc:date>
    </item>
  </channel>
</rss>

