<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto"><BR style="RIGHT: auto" class=yui-cursor></SPAN></div>
<div><BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV></DIV>
<DIV style="RIGHT: auto" dir=ltr>Brian,</DIV>
<DIV style="RIGHT: auto" dir=ltr>&nbsp;</DIV>
<DIV style="RIGHT: auto" dir=ltr>Have you tried to access the DB with a tool other than Powerhouse using the same ODBC settings?</DIV>
<DIV style="RIGHT: auto" dir=ltr>&nbsp;</DIV>
<DIV style="RIGHT: auto" dir=ltr>KG<VAR id=yui-ie-cursor></VAR></DIV>
<DIV style="RIGHT: auto" dir=ltr>&nbsp;</DIV>
<DIV style="RIGHT: auto" dir=ltr>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Wed, 10 Jul 2013 11:03:09 -0400<BR>From: Brian Stephens &lt;<A href="mailto:bws001@gmail.com" ymailto="mailto:bws001@gmail.com">bws001@gmail.com</A>&gt;<BR>Subject: DB2 one more time..<BR>To: <A href="mailto:powerh-l@lists.sowder.com" ymailto="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</A><BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:CAPxvv-XLxJNxT4KfPNULaZBziqRN3HW-ib_FG11-0NLPN0E0wg@mail.gmail.com" ymailto="mailto:CAPxvv-XLxJNxT4KfPNULaZBziqRN3HW-ib_FG11-0NLPN0E0wg@mail.gmail.com">CAPxvv-XLxJNxT4KfPNULaZBziqRN3HW-ib_FG11-0NLPN0E0wg@mail.gmail.com</A>&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>I am still trying to get PH on windows to talk to DB2 on ISeries thru OBDC..<BR><BR>Everything we have read says that we should be able the set the ODBC driver to access a default
 schema..<BR><BR>However is appears that PH requires it to be fully qualified..<BR><BR>Using the sample database in QSHOW<BR><BR><BR>I see<BR><BR><BR>&gt; show records in sample<BR>2013/07/10&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TEST ODBC Connection&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Page&nbsp; &nbsp; 1<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R E C O R D&nbsp; S U M M A R Y<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For DICTIONARY:&nbsp; C:\TEST.pdc<BR>Record Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; File Name/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Record Size<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Open Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 (bytes)<BR>SAMPLE.DEPT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 66<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.EMP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 79<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.EMP_ACT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.EMPACT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.PROJ&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 58<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.ACT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 30<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.CL_SCHED&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.DEPARTMENT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 66<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR>SAMPLE.EMP_PHOTO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAMPLE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1080<BR>&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DSN=SAMPLE;<BR><BR><BR>I have set the default schema in OBDC to SAMPLE.. So i should be able to find it without it...<BR><BR>But if I try to access the table unqualified I get<BR><BR>&gt; access emp in sample<BR>&gt; rep all<BR>&gt; go<BR>*E* Data access error. (EMP)<BR>*E* DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'. (EMP)<BR>*E* DMS-E-RBI_TABLE, The table or view EMP was not found in the dictionary.<BR>(EMP)<BR><BR>Records selected:&nbsp; 0<BR><BR><BR>What's more bizarre is that if I show items.. Powerhouse has indeed found the records..<BR><BR>&gt; show items<BR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INPUT OUTPUT<BR>EMP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TYPE SCALE SCALE&nbsp; DEC PICTURE<BR>* EMPNO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(6)<BR>&nbsp; FIRSTNME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VARCHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(12)<BR>&nbsp; MIDINIT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(1)<BR>&nbsp; LASTNAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VARCHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(15)<BR>* WORKDEPT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(3)<BR>&nbsp; PHONENO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(4)<BR>&nbsp; HIREDATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; YYYY/MM/DD<BR>&nbsp; JOB&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(8)<BR>&nbsp; EDLEVEL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM&nbsp; &nbsp; 0&nbsp; &nbsp; 0&nbsp; &nbsp; 0&nbsp; ^^,^^^<BR>&nbsp; SEX&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; CHAR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; X(1)<BR>&nbsp; BIRTHDATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; YYYY/MM/DD<BR>&nbsp; SALARY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM&nbsp; &nbsp; 2&nbsp; &nbsp; 0&nbsp; &nbsp; 2&nbsp; ^,^^^,^^^.^^<BR>&nbsp; BONUS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM&nbsp; &nbsp; 2&nbsp; &nbsp; 0&nbsp; &nbsp; 2&nbsp; ^,^^^,^^^.^^<BR>&nbsp; COMM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM&nbsp; &nbsp; 2&nbsp; &nbsp; 0&nbsp; &nbsp; 2&nbsp; ^,^^^,^^^.^^<BR><BR><BR>Does powerhouse not take into account the ODBC setting???<BR><BR>Has anyone else
 ever done this and gotten it to work..<BR><BR><BR><BR>It's saying that EMP is not in the dictionary does that mean I could add it to the PDL? How would I.. Refines is a big issue with this project.<BR><BR><BR><BR>Fully qualifying sorta takes away the benefit of being able to pass variables to the open name..<BR><BR>PS It does work fully qualified...<BR><BR>&gt; access sample.emp in sample<BR>&gt; rep all<BR>&gt; go<BR>2013/07/10&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TRUEOIL TEST ODBC Conection<BR>PAGE&nbsp; 1<BR><BR>&nbsp; Empno&nbsp; Firstnme&nbsp; &nbsp; &nbsp; Midinit&nbsp; Lastname&nbsp; &nbsp; &nbsp; &nbsp; Workdept&nbsp; Phoneno<BR>Hiredate<BR><BR>&nbsp; Job&nbsp; &nbsp; &nbsp; Edlevel&nbsp; Sex&nbsp; Birthdate&nbsp; &nbsp; &nbsp; Salary&nbsp; &nbsp; &nbsp; &nbsp; Bonus<BR><BR>&nbsp; &nbsp; &nbsp; Comm<BR><BR>&nbsp; 000010&nbsp; CHRISTINE&nbsp; &nbsp; &nbsp; &nbsp; I&nbsp; &nbsp; HAAS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; A00&nbsp; &nbsp; &nbsp; 3978<BR>1965/01/01<BR>&nbsp; PRES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 18&nbsp; F&nbsp; 1933/08/24&nbsp; &nbsp; &nbsp; 52,750.00&nbsp; &nbsp; &nbsp; 1,000.00<BR>&nbsp; &nbsp; &nbsp; 4,220.00<BR>&nbsp; 000020&nbsp; MICHAEL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L&nbsp; &nbsp; THOMPSON&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; B01&nbsp; &nbsp; &nbsp; 3476<BR>1973/10/10<BR>&nbsp; MANAGER&nbsp; &nbsp; &nbsp; &nbsp; 18&nbsp; M&nbsp; 1948/02/02&nbsp; &nbsp; &nbsp; 41,250.00&nbsp; &nbsp; &nbsp; &nbsp; 800.00<BR>&nbsp; &nbsp; &nbsp; 3,300.00<BR>&nbsp; 000030&nbsp; SALLY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; A&nbsp; &nbsp; KWAN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; C01&nbsp; &nbsp; &nbsp; 4738<BR>1975/04/05<BR>&nbsp; MANAGER&nbsp; &nbsp; &nbsp; &nbsp; 20&nbsp; F&nbsp; 1941/05/11&nbsp; &nbsp; &nbsp; 38,250.00&nbsp; &nbsp; &nbsp; &nbsp; 800.00<BR>&nbsp; &nbsp; &nbsp; 3,060.00<BR>&nbsp; 000050&nbsp; JOHN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; B&nbsp; &nbsp; GEYER&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E01&nbsp; &nbsp; &nbsp; 6789<BR>1949/08/17<BR>&nbsp; MANAGER&nbsp; &nbsp; &nbsp; &nbsp; 16&nbsp; M&nbsp; 1925/09/15&nbsp; &nbsp; &nbsp; 40,175.00&nbsp; &nbsp; &nbsp; &nbsp; 800.00<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3,214.00<BR>&nbsp; 000060&nbsp; IRVING&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; F&nbsp; &nbsp; STERN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D11&nbsp; &nbsp; &nbsp; 6423<BR>1973/09/14<BR>&nbsp; MANAGER&nbsp; &nbsp; &nbsp; &nbsp; 16&nbsp; M&nbsp; 1945/07/07&nbsp; &nbsp; &nbsp; 32,250.00&nbsp; &nbsp; &nbsp; &nbsp; 500.00<BR>&nbsp; &nbsp; &nbsp; 2,580.00<BR><BR><BR><BR><BR>--<BR>Thanks<BR><BR>Brian Stephens<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: &lt;<A href="http://lists.sowder.com/pipermail/powerh-l/attachments/20130710/ecaed911/attachment-0001.htm"
 target=_blank>http://lists.sowder.com/pipermail/powerh-l/attachments/20130710/ecaed911/attachment-0001.htm</A>&gt;<BR><BR>------------------------------<BR><BR></DIV></DIV></DIV></div></body></html>