<font size=3 color=#2f2f2f face="Cambria">Brian,</font>
<br>
<br><font size=3 color=#2f2f2f face="Cambria">I believe the DB2 feature
you're looking for is called a table nickname...</font>
<br>
<br><a href="http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0002169.html"><font size=3 color=#2f2f2f face="Cambria">http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0002169.html</font></a>
<br>
<br><font size=3 color=#2f2f2f face="Cambria">However, this obviously requires
a local DB2 server instance and the federated database feature to be enabled.
Since you've already mentioned that you'd prefer not to use ODBC access,
I'm assuming &nbsp;that you're intending to use the native DB2 client access
built in to PowerHouse. If so, then why not just install and configure
the DB2 client (DB2 Connect?) on your Windows machine and then connect
directly to your DB2 for i tables?</font>
<br>
<br><font size=3 color=#2f2f2f face="Cambria">Its been a while I since
I coded any PowerHouse apps, but in your PDL dictionary you would simply
declare the database TYPE as DB2 and the OPEN name as the name you defined
in your DB2 client configuration. Page 34 of the PowerHouse 8.4G PDL manual
contains the following example (using an environment variable for the open
name)...</font>
<br>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; DATABASE NAGI &amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; TYPE DB2 &amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; HIGH FILL HEX &quot;7A&quot;
&amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; NULL VALUES ALLOWED
&amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; DESCRIPTION &amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; &quot;NORTH AMERICAN
GEOGRAPHICAL INFORMATION (DB2)&quot; &amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; OPEN &quot;$DB2_LOCATION&quot;
&amp;</font>
<br><font size=3 color=#2f2f2f face="Cambria">&gt; USER &quot;DBUSER&quot;
PASSWORD &quot;DBPASS&quot;</font>
<br>
<br><font size=3 color=#2f2f2f face="Cambria">Of course if you also have
tables in a local Windows-based DB2 instance that you then want to access
along with your DB2 for i table(s) then perhaps the table nickname route
is the way to go...so that all of your tables appear to PowerHouse to be
in one DB2 instance, and you'll be able to use cursors in PowerHouse to
have the database process queries and updates across both the local and
remote tables (rather than having PowerHouse access two separate databases
and perform the processing itself).</font>
<br><font size=3 color=#2f2f2f face="Cambria"><br>
Regards,<br>
Conrad</font>
<br>