HighTechTalks DotNet Forums  

AS/400 connection problems

Dotnet Framework (ODBC.net) microsoft.public.dotnet.framework.odbcnet


Discuss AS/400 connection problems in the Dotnet Framework (ODBC.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rob T
 
Posts: n/a

Default AS/400 connection problems - 11-28-2005 , 11:27 AM






For years we have been using Microsoft Access to transfer data to/from an
AS400 using the Client Access ODBC connection. We are now having problems
with the connections where the data looks garbled when you open a table, or
it will say #DELETED in the fields.

My theory is one of the Microsoft critical updates made a change to the
system, but am not sure. I have tried to reinstall Client Access and MDAC
with no success.

Any suggestions?

-Rob T.



Reply With Quote
  #2  
Old   
Rick Brandt
 
Posts: n/a

Default Re: AS/400 connection problems - 11-28-2005 , 12:20 PM






Rob T wrote:
Quote:
For years we have been using Microsoft Access to transfer data
to/from an AS400 using the Client Access ODBC connection. We are
now having problems with the connections where the data looks garbled
when you open a table, or it will say #DELETED in the fields.

My theory is one of the Microsoft critical updates made a change to
the system, but am not sure. I have tried to reinstall Client Access
and MDAC with no success.

Any suggestions?

-Rob T.
Often that symptom only shows up when viewing the table datasheet directly
while forms, reports, and queries are not affected. In that case you can
simply ignore it since you shouldn't be doing anything with the table
datasheet anyway.

You would likely find that a passthrough query against the same table
displays fine.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Reply With Quote
  #3  
Old   
Rob T
 
Posts: n/a

Default Re: AS/400 connection problems - 11-28-2005 , 01:50 PM



I thought this might be the problem but I can't do any
updates/inserts/deletes to the tables. I get an error like this:

"ODBC-insert on a linked table 'IMDSLTB' failed. [IBM][Client Access
Express ODBC Driver(32-bit)][DB2/400 SQL]SQL7008 - IMDSLTB in AMFLIBT not
valid for operation. (#-7008)

I haven't found much out there about this. :-(

"Rick Brandt" <rickbrandt2 (AT) hotmail (DOT) com> wrote

Quote:
Rob T wrote:
For years we have been using Microsoft Access to transfer data
to/from an AS400 using the Client Access ODBC connection. We are
now having problems with the connections where the data looks garbled
when you open a table, or it will say #DELETED in the fields.

My theory is one of the Microsoft critical updates made a change to
the system, but am not sure. I have tried to reinstall Client Access
and MDAC with no success.

Any suggestions?

-Rob T.

Often that symptom only shows up when viewing the table datasheet directly
while forms, reports, and queries are not affected. In that case you can
simply ignore it since you shouldn't be doing anything with the table
datasheet anyway.

You would likely find that a passthrough query against the same table
displays fine.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Reply With Quote
  #4  
Old   
Rick Brandt
 
Posts: n/a

Default Re: AS/400 connection problems - 11-28-2005 , 04:16 PM



Rob T wrote:
Quote:
I thought this might be the problem but I can't do any
updates/inserts/deletes to the tables. I get an error like this:

"ODBC-insert on a linked table 'IMDSLTB' failed. [IBM][Client Access
Express ODBC Driver(32-bit)][DB2/400 SQL]SQL7008 - IMDSLTB in AMFLIBT
not valid for operation. (#-7008)

I haven't found much out there about this. :-(
That error is usually a journaling problem. If you have your ODBC set up to
use anything besides "Commit Immediate *NONE" for commit mode then the table
being updated has to be journaled on the AS400.

You will find this setting in the advanced options of the "Server" tab in
your ODBC setup.

I have also seen this caused by a bug in version 10.00.00.00 of the Client
Access driver.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Reply With Quote
  #5  
Old   
Rob T
 
Posts: n/a

Default Re: AS/400 connection problems - 11-29-2005 , 03:55 PM



Commit mode was the problem. I'm not sure how it got changed in the ODCB
setup. Perhaps one of the critical updates or something.

"Rick Brandt" <rickbrandt2 (AT) hotmail (DOT) com> wrote

Quote:
Rob T wrote:
I thought this might be the problem but I can't do any
updates/inserts/deletes to the tables. I get an error like this:

"ODBC-insert on a linked table 'IMDSLTB' failed. [IBM][Client Access
Express ODBC Driver(32-bit)][DB2/400 SQL]SQL7008 - IMDSLTB in AMFLIBT
not valid for operation. (#-7008)

I haven't found much out there about this. :-(

That error is usually a journaling problem. If you have your ODBC set up
to use anything besides "Commit Immediate *NONE" for commit mode then the
table being updated has to be journaled on the AS400.

You will find this setting in the advanced options of the "Server" tab in
your ODBC setup.

I have also seen this caused by a bug in version 10.00.00.00 of the Client
Access driver.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.