Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AS400 Drivers

Status
Not open for further replies.

UrbaneRove

Programmer
Mar 21, 2002
48
CA
Help with Drivers

Hello there,

I have a client that is running a SQL Server 2000 and an AS400. What we are trying to do is to update a linked AS400 field through the ODBC driver. The field is packed though. The Error I get is

'ODBC - Update on linked table 'TBLNONAME' failed'
Client Access Express ODBC - Data Conversion or Date Mapping Error'

The Client Access they have loaded is ver 4 release 5.

What we need to do is to send data back to the AS400 from a VB program that ultilizes the ODBC drives.

An Ideas or suggestions?

Thanks to all.

UrbaneRove
 
A fairly simple approach is to create a logical file on the AS/400 that redefines the packed decimal fields (as unpacked numeric) that you are trying to update. Then, have SQL Server update the logical.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top