I can not get the OLE Provider for DB2 working.
1 The connect to the AS400 is working
2 I succeeded creating SQL packages in the PJPDTA1 library on the AS400
(this is only possible with EBCDIC US/Canada (37). When I use Swedish/Finish
(20278) I do not succeed creating packages. The EBCDIC code for the database
on the AS400 is 278.
3 Trying the Sample Query I get this result:
Could not connect to data source 'AS400_OLE3':
Ett eller flera fel uppstod under bearbetning av kommandot.
SQL error occurred. SQLSTATE: HY000, SQLCODE: -372
The Connection String I am using is this:
Provider=DB2OLEDB;User ID=HE;Initial Catalog=S44L0105;Network Transport
Library=TCP;Host CCSID=37;PC Code Page=1252;Network
Address=THOR.DIREKTKONSULT.SE;Network Port=446;Package
Collection=PJPDTA1;Default Schema=PJPDTA1;Process Binary as
Character=True;Units of Work=RUW;DBMS Platform=DB2/AS400;Defer
Prepare=False;Rowset Cache Size=0;Persist Security Info=False;Connection
Pooling=False;Derive Parameters=False;
Can anywone help me with this?
Archived from group: microsoft>public>vb>ole