<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> </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> </DIV>
<DIV style="RIGHT: auto" dir=ltr>KG<VAR id=yui-ie-cursor></VAR></DIV>
<DIV style="RIGHT: auto" dir=ltr> </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 <<A href="mailto:bws001@gmail.com" ymailto="mailto:bws001@gmail.com">bws001@gmail.com</A>><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> <<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>><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>> show records in sample<BR>2013/07/10 TEST ODBC Connection Page 1<BR> R E C O R D S U M M A R Y<BR> For DICTIONARY: C:\TEST.pdc<BR>Record Name File Name/ Record Size<BR> Open Name
(bytes)<BR>SAMPLE.DEPT SAMPLE 66<BR> DSN=SAMPLE;<BR>SAMPLE.EMP SAMPLE 79<BR> DSN=SAMPLE;<BR>SAMPLE.EMP_ACT SAMPLE 25<BR>
DSN=SAMPLE;<BR>SAMPLE.EMPACT SAMPLE 25<BR> DSN=SAMPLE;<BR>SAMPLE.PROJ SAMPLE 58<BR> DSN=SAMPLE;<BR>SAMPLE.ACT SAMPLE 30<BR>
DSN=SAMPLE;<BR>SAMPLE.CL_SCHED SAMPLE 17<BR> DSN=SAMPLE;<BR>SAMPLE.DEPARTMENT SAMPLE 66<BR> DSN=SAMPLE;<BR>SAMPLE.EMP_PHOTO SAMPLE 1080<BR>
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>> access emp in sample<BR>> rep all<BR>> 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: 0<BR><BR><BR>What's more bizarre is that if I show items.. Powerhouse has indeed found the records..<BR><BR>> show items<BR><BR> INPUT OUTPUT<BR>EMP
TYPE SCALE SCALE DEC PICTURE<BR>* EMPNO CHAR X(6)<BR> FIRSTNME VARCHAR X(12)<BR> MIDINIT CHAR X(1)<BR> LASTNAME VARCHAR X(15)<BR>* WORKDEPT CHAR
X(3)<BR> PHONENO CHAR X(4)<BR> HIREDATE DATE YYYY/MM/DD<BR> JOB CHAR X(8)<BR> EDLEVEL NUM 0 0 0 ^^,^^^<BR> SEX
CHAR X(1)<BR> BIRTHDATE DATE YYYY/MM/DD<BR> SALARY NUM 2 0 2 ^,^^^,^^^.^^<BR> BONUS NUM 2 0 2 ^,^^^,^^^.^^<BR> COMM NUM 2 0 2 ^,^^^,^^^.^^<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>> access sample.emp in sample<BR>> rep all<BR>> go<BR>2013/07/10 TRUEOIL TEST ODBC Conection<BR>PAGE 1<BR><BR> Empno Firstnme Midinit Lastname Workdept Phoneno<BR>Hiredate<BR><BR> Job Edlevel Sex Birthdate Salary Bonus<BR><BR> Comm<BR><BR> 000010 CHRISTINE I HAAS
A00 3978<BR>1965/01/01<BR> PRES 18 F 1933/08/24 52,750.00 1,000.00<BR> 4,220.00<BR> 000020 MICHAEL L THOMPSON B01 3476<BR>1973/10/10<BR> MANAGER 18 M 1948/02/02 41,250.00 800.00<BR> 3,300.00<BR> 000030 SALLY A KWAN C01 4738<BR>1975/04/05<BR> MANAGER 20 F 1941/05/11 38,250.00 800.00<BR> 3,060.00<BR> 000050 JOHN
B GEYER E01 6789<BR>1949/08/17<BR> MANAGER 16 M 1925/09/15 40,175.00 800.00<BR> 3,214.00<BR> 000060 IRVING F STERN D11 6423<BR>1973/09/14<BR> MANAGER 16 M 1945/07/07 32,250.00 500.00<BR> 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: <<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>><BR><BR>------------------------------<BR><BR></DIV></DIV></DIV></div></body></html>