<?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: tables not retuned as name is too long in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893933#M353135</link>
    <description>&lt;P&gt;How long is the table name you are trying to query? Using SQL Passthru as in your example should work to read table names longer than 32 characters which is the SAS table name limit.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 20:47:03 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-09-12T20:47:03Z</dc:date>
    <item>
      <title>tables not retuned as name is too long</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893881#M353114</link>
      <description>&lt;PRE class="language-sas"&gt;&lt;CODE&gt;proc sql;
create table tablelist as select MEMNAME as table_list from dictionary.tables where libname="S_ICE";
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have got a note that "&amp;nbsp;10 tables are not returned as name is too long ".&lt;/P&gt;
&lt;P&gt;How can I overcome this problem.I understand that sas datasets have naming constraints and this note is because of that. I cannot pass through sql as dictionary.tables will not be available as shown in example code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;proc sql;
connect using mylib;
create table t as select * from connection to mylib
(select * from my_table_with_a_name_so_long_that_it_is_longer_than_any_single_line_of_a_program_should_be
);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893881#M353114</guid>
      <dc:creator>Sathya3</dc:creator>
      <dc:date>2023-09-12T19:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: tables not retuned as name is too long</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893891#M353115</link>
      <description>&lt;P&gt;In the DB, have views defined for those tables with names that honor the SAS limits.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:42:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893891#M353115</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-12T19:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: tables not retuned as name is too long</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893933#M353135</link>
      <description>&lt;P&gt;How long is the table name you are trying to query? Using SQL Passthru as in your example should work to read table names longer than 32 characters which is the SAS table name limit.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tables-not-retuned-as-name-is-too-long/m-p/893933#M353135</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-09-12T20:47:03Z</dc:date>
    </item>
  </channel>
</rss>

