× 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.



Very true on the level checks. No matter what we are looking at a totally new ERP database and the current F specs would need changed. At the same time we could do what you suggest and externalize the access to the ERP database to make future changes less of a problem but to do that rewrite at the same time the ERP is going in would be a much more involved process than just changing table names and field names and leaving all the opcodes as is.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, April 30, 2009 12:33 PM
To: Midrange Systems Technical Discussion
Subject: RE: MS SQL server access from RPG

I would suspect that any method you select is going to involve some major
changes in your code. For example, if your current code "chains" out to
ThisFile and now you move ThisFile to Informix or SQL Server I really
doubt that you won't have to modify and recompile your program simply by
changing the physical ThisFile with CRTDDMF to the gateway pc and get the
same data and no level check.

This is one of those cases where you are better off externalizing I/O.
Replace the "chain ThisFile" with "MyDS=GetMyData(); and subprocedure
GetMyData could have the simple chain (if still on i), a CONNECT TO (if on
Informix), or the JDBC action (if using SQL Server).

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.