× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Download directly to a Access db file
  • From: Jim Langston <jlangston@xxxxxxxxxxxxxxxx>
  • Date: Wed, 30 Aug 2000 15:33:39 -0700

Just a heads up, quite a while back we were converting data between a McDonald 
Douglas
pic system and an AS/400 using ODBC.  We would load the data onto a PC and 
clean it up,
then use ODBC to copy it to the AS/400.  Everything seemed fine and we did this 
for a while,
while developing applications for the AS/400, everthing in ttest mode, of 
course.

One day a co-worker came to me and said her data didn't seem "right".  I looked 
at the data
on the PC and the data on the AS/400 and saw that ODBC had done something 
horrible, it
had somehow shifted data.  The co-worker had chosen a key for the records, as I 
understand
was required at that time for ODBC, of about half the record length.  For some 
reason when
the data was on the AS/400 the key fields did not have the same data for the 
rest of the record
from about 1/2 way down the file.  That is, data was missing but it was not 
entire records that
were missing, but data from the next record was shifted up to be apart of the 
record before it.
Total garbage at this point.

We started poking around all the other files we had been transfering, and sure 
enough, just about
every file had this type of garbage.  We wiped out all our data bases and 
started looking for other
ways to bring the data to the AS/400.

So, just be very, very careful that you double and triple check your data after 
doing transfers
with ODBC.

Regards,

Jim Langston

Joep Beckeringh wrote:

> Mike,
>
> Access stores all its data in one .mdb file, in a way that is presumably
> only known by Microsoft.  FTP-ing straight into this file is asking for
> trouble.  What you have to do is either export from the AS/400 in a format
> that Access can import, or use ODBC, so Access can get at the AS/400 data
> itself.
>
> Joep Beckeringh
>

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.