<?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 SQL - DB2 - Pass-Thru-Retain table across queries in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31450#M7491</link>
    <description>I want to pull a subset of a db2 query and place in a sas dataset.  Then run a second query against that output and some other db2 tables.  I consistantly get the message in the second query that the sas dataset is a 'undefined file'. &lt;BR /&gt;
I've been told by unreliable sources that I CAN'T reference a sas dataset in subsequent queries because the FROM statement in Pass-Thru doesn't 'know' about sas.....is this true?  if so, any idea of how I can create a 'hold' space of my own in db2 to store my data in a table (rather than a sas dataset) for use across queries?</description>
    <pubDate>Wed, 16 Jul 2008 13:43:39 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-16T13:43:39Z</dc:date>
    <item>
      <title>SQL - DB2 - Pass-Thru-Retain table across queries</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31450#M7491</link>
      <description>I want to pull a subset of a db2 query and place in a sas dataset.  Then run a second query against that output and some other db2 tables.  I consistantly get the message in the second query that the sas dataset is a 'undefined file'. &lt;BR /&gt;
I've been told by unreliable sources that I CAN'T reference a sas dataset in subsequent queries because the FROM statement in Pass-Thru doesn't 'know' about sas.....is this true?  if so, any idea of how I can create a 'hold' space of my own in db2 to store my data in a table (rather than a sas dataset) for use across queries?</description>
      <pubDate>Wed, 16 Jul 2008 13:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31450#M7491</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-16T13:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL - DB2 - Pass-Thru-Retain table across queries</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31451#M7492</link>
      <description>You could store the query in a DB2 temporary table.  See the SAS/ACCESS documention on temporary table support for DB2.&lt;BR /&gt;
&lt;BR /&gt;
We have Oracle where I am and I use temporary table feature occationally.&lt;BR /&gt;
&lt;BR /&gt;
-Darryl</description>
      <pubDate>Wed, 16 Jul 2008 16:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31451#M7492</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2008-07-16T16:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: SQL - DB2 - Pass-Thru-Retain table across queries</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31452#M7493</link>
      <description>Thank you, unfortunately i get a security access error saying I'm not allowed to create a table....(sigh)...thanks much anyway...</description>
      <pubDate>Thu, 17 Jul 2008 00:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31452#M7493</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-17T00:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL - DB2 - Pass-Thru-Retain table across queries</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31453#M7494</link>
      <description>Check with your DBA to see if they have a separate schema on your database that allows temporary tables from users.</description>
      <pubDate>Wed, 23 Jul 2008 19:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-DB2-Pass-Thru-Retain-table-across-queries/m-p/31453#M7494</guid>
      <dc:creator>MattC</dc:creator>
      <dc:date>2008-07-23T19:38:50Z</dc:date>
    </item>
  </channel>
</rss>

