<?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 Sashelp library- issue reading data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794858#M32878</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used code1 below to check all the variables names in different libraries it worked flawlessly, however when I used it to read from the Sashelp library it keeps giving me an empty table. it seems that sas is not reading the library in this code specifically, however, if I tried to print the data in one of sashelp files (per code2 below) it reads it and show me the result. may you help me understanding my mistake in code1&amp;nbsp;&lt;/P&gt;&lt;P&gt;code1&lt;/P&gt;&lt;P&gt;__________________________&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table mTable as&amp;nbsp;&lt;BR /&gt;select * from dictionary.columns&amp;nbsp;&lt;BR /&gt;where libname = 'sashelp'&lt;/P&gt;&lt;P&gt;and memname ='filename'&amp;nbsp;;&lt;BR /&gt;quit;&lt;BR /&gt;_________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code2&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;&lt;P&gt;proc print data=sashelp.Cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 19:05:39 GMT</pubDate>
    <dc:creator>Abdulla1</dc:creator>
    <dc:date>2022-02-07T19:05:39Z</dc:date>
    <item>
      <title>Sashelp library- issue reading data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794858#M32878</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used code1 below to check all the variables names in different libraries it worked flawlessly, however when I used it to read from the Sashelp library it keeps giving me an empty table. it seems that sas is not reading the library in this code specifically, however, if I tried to print the data in one of sashelp files (per code2 below) it reads it and show me the result. may you help me understanding my mistake in code1&amp;nbsp;&lt;/P&gt;&lt;P&gt;code1&lt;/P&gt;&lt;P&gt;__________________________&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table mTable as&amp;nbsp;&lt;BR /&gt;select * from dictionary.columns&amp;nbsp;&lt;BR /&gt;where libname = 'sashelp'&lt;/P&gt;&lt;P&gt;and memname ='filename'&amp;nbsp;;&lt;BR /&gt;quit;&lt;BR /&gt;_________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code2&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;&lt;P&gt;proc print data=sashelp.Cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794858#M32878</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-02-07T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sashelp library- issue reading data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794859#M32879</link>
      <description>&lt;P&gt;Correction&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code1 is&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table mTable as&lt;BR /&gt;select * from dictionary.columns&amp;nbsp;&lt;BR /&gt;where libname = 'sashelp'&amp;nbsp;&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:07:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794859#M32879</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-02-07T19:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sashelp library- issue reading data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794861#M32880</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where libname = 'sashelp'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;should be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where libname = 'SASHELP'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the capital letters make a difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also this won't work:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;and memname ='filename' ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;because there are no memnames (which are data set names) that have the name 'filename' or 'FILENAME'. So its not clear to me what you are doing. What are you trying to do?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794861#M32880</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-07T19:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sashelp library- issue reading data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794863#M32881</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spent over 3 hour on that but didn't thought about changing them to capital letters!.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the filename part was written as a comment in my original file coping it was a mistake.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794863#M32881</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-02-07T19:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sashelp library- issue reading data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794874#M32882</link>
      <description>&lt;P&gt;Suggestion: LOOK AT the dictionary table with your own eyes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    select distinct(libname) from dictionary.columns;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;or look at table SASHELP.VCOLUMN, it is dictionary table.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 20:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sashelp-library-issue-reading-data/m-p/794874#M32882</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-07T20:55:21Z</dc:date>
    </item>
  </channel>
</rss>

