|
You have to use MySQL driverscreated
check following link
http://systeminetwork.com/article/jdbc-rpg-enhancements
On Fri, May 22, 2009 at 5:13 PM, dale janus <dalejanus@xxxxxxxxxxxxxxxxx
wrote:
I need help figure out how to use RPG or CL to access MYSQL data
installedusing the new IBMDB2I engine in MYSQL version.
We have installed the latest version of MYSQL 5.1.34. Then we
ofSUGARCRM with test data. PHPMYADMIN shows the test files using the
new IBMDB2I engine.
We followed the IBM redbook "using ibm db2 for i as a storage engine
createmysql" .Everything seems to have worked as the redbook says it would.
But I am stuck on chapter 4, trying to get to the sugarcrm test files
through rpg.
On page 78, it seems the redbook authors say all I need to do is
lista duplicate object as a file template and compile my rpg program usinglist
it. But CRTDUPOBJ does not seem to know about QSYS2 and other such
things.
I like the idea of creating a dummy duplicate object for RPG compiles.
For example, SUGARCRM has a masterfile called ACCOUNTS (probably lower
case).
We know our catalog name is our I series serial number. The schema
(LIBRARY?)is sugarcrm (in lowercase). The table name is accounts (in
lowercase, probably with " around it).
Can anyone point me in the right direction?
---Dale
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--
Regards,
Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(owner of www.rpgiv.info)
WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
i want to be future ready. i want control. i want an i.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.