anyone succeeded in connecting a linux redhat
box directly to as/400 database using Perl DBD::DB2 driver ?
Is it enought to use DB2 Connect Personal Edition for Linux ?
What version ? (6.1, 5.2, or other)
How I configure DB2 on Linux to connect directly to my AS/400 ?
I was following these steps:
db2> catalog dcs database <localdb> as <remotedb>
db2> catalog tcpip node <node> remote <my_as400> ostype OS/400
db2> catalog database <local> as <remotedb> at node <node>
When I issue a "connect to local" commands,
it says that "database release level of server doesn't support
database release level of client".
What can I do ?
Anyone succeeded in this task?
Thank you guys.
Cosimo [cst...@idgroup.it]
DB2/400 must be at v4r2 or later and have TCP/IP working.
db2 catalog tcpip node mynode remote my_as400 server 446
db2 catalog dcs database mydcsdb as <as/400 rdbname>
db2 catalog db mydcsdb as mylocaldb at node mynode authentication dcs
db2 terminate
db2 connect to mylocaldb user xxxxx using yyyyy
cd $HOME/sqllib/bnd
db2 bind @ddcs400.lst sqlerror continue
db2 commit