<?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: Load tables dynamically from SAS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461819#M436205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading data from SAS and SQL tables did not work from me.&lt;/P&gt;&lt;P&gt;Fortunately i found a solution which gives me exact what i wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;STRONG&gt;MEMNAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM X*******Z.&lt;STRONG&gt;DICTIONARY.TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MEMNAME :&lt;/STRONG&gt; contains all the table names&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DICTIONARY.TABLES : &lt;/STRONG&gt;is the metadata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure to use this in CAPITAL letters.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2018 14:00:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-10T14:00:24Z</dc:date>
    <item>
      <title>Load tables dynamically from SAS</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461817#M436203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to load table name from SAS dynamically. I used the below statement for loading from SQL server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT "&lt;STRONG&gt;TABLENAME&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;FROM P*****T.P*****H."&lt;STRONG&gt;_v_table&lt;/STRONG&gt;" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i m using the same _v_table and tablename with SAS, i m getting the following error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ODBC error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connector reply error: SQL##f - SqlState: S1000, ErrorCode: 4294967295, ErrorMsg: [SAS][SAS ODBC Driver][SAS Server] SPDS_NOTE: Correct Syntax for select expression is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can someone please let me know what is the exact syantax i should use to get all the tablename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 08:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461817#M436203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T08:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables dynamically from SAS</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461818#M436204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The generic method to get the meta data information when your are using ODBC is to use the statment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLTables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will as a single word statement extract all the tables metadata available through the ODBC connection you already have connected to. Have a look here for further info: &lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLTables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLTables.htm"&gt;SQLTables ‒ QlikView&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLColumns;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give you the additional column names and column info that could be used too if you need.&lt;/P&gt;&lt;P&gt;More info here: &lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLColumns.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLColumns.htm"&gt;SQLColumns ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 12:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461818#M436204</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-01-10T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables dynamically from SAS</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461819#M436205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading data from SAS and SQL tables did not work from me.&lt;/P&gt;&lt;P&gt;Fortunately i found a solution which gives me exact what i wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;STRONG&gt;MEMNAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM X*******Z.&lt;STRONG&gt;DICTIONARY.TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MEMNAME :&lt;/STRONG&gt; contains all the table names&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DICTIONARY.TABLES : &lt;/STRONG&gt;is the metadata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure to use this in CAPITAL letters.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 14:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-dynamically-from-SAS/m-p/1461819#M436205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T14:00:24Z</dc:date>
    </item>
  </channel>
</rss>

