× 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: xBase and DB2/400
  • From: Bob Crothers <bob@xxxxxxxxxxxxxx>
  • Date: Mon, 1 Feb 1999 17:34:21 -0000
  • Organization: Cornerstone Communications, LLC

Tim,

Funny you should meantion Codebase....I just started playing with 
Codebase for another project I am working on.

The web site for Codebase is www.sequiter.com

What language is the application written in?  Anything besides C might 
be tough.

By "port", do you mean move the entire thing, lock stock and barrel to 
the as/400?

If the app is written in C, this might be possible...as long as there 
is not much user interface involved.  UI tends to be very problematic 
in such ports.  If this is a windows app, start thinking about a 
scratch re-write in RPG as it would probably be faster.

Do you want to actually port Codebase to the as/400 or are you looking 
to use native DB2/400?

Porting of Codebase is probably possible.  Codebase is written in ANSI 
C..and is written to be ported.  I would check with Sequiter...they 
may know of somebody who has already done the port.  If not, and you 
are fairly fluent in C, then you might give it a try.  However, this 
will not be a "Compile & Go".

Some things to look out for:

1) All File I/O.
2) ASCII vs EBCIDIC collating sequence differences.
3) Byte ordering differences (AS/400 is Big Edian, PC's are Little 
Edian).
4) User Interface stuff.  No problem with Codebase because it is a db 
engine with no interface...but probably very big problem for the 
application.
5) Integer size differences (16, 32 or 64 bits)?
6) Word alignment.

My experience when porting C stuff to the AS/400 ranges from "piece of 
cake" to absolute nightmare.

One big thing is how well encapsulated are the File & Memory routines. 
 Well encapsulated tends to be very easy.

And of course, there are the licensing issues  of Codebase.  Sequiter 
can help you there.

Bob


-----Original Message-----
From:   Tim McCarthy [SMTP:TimM@softwarejungle.com]
Sent:   Monday, February 01, 1999 4:25 PM
To:     'MIDRANGE-L@midrange.com'
Subject:        xBase and DB2/400

Anyone have any experience porting code that's xBase compatible 
(written
using CodeBase) to the 400? Any wisdom or knowledge relating to this 
or
Codebase itself would be welcome.

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

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 ...


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.