× 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: Using API's ?
  • From: "Scott Klement" <infosys@xxxxxxxxxxxx>
  • Date: 09 Sep 1999 17:19:40 -0500

Eric,
      If IBM changed the parameters, or the layout of a data struct,
programs would stop working when you upgraded to the new release.
Its true that if you had used QSYSINC, its POSSIBLE that all you'd
have to do is recompile the program to make it work.  But not really
CERTAIN...

However:
      1) You can't use header files in CL programs, so any CL program
          using an API would need to be changed anyway.
      2) There aren't header files for the Unix-type APIs, so if they
          changed these, you'd have a problem anyway.
      3) In most of the APIs IBM uses a "format" code and a data
          structure so they can change the API without screwing up
          backwards compatability.

I've got lots of programs that survived the conversion from V3R1 to
V3R2 that didn't use QSYSINC.

So, I guess I'm wondering why you're making this statement?   Did it
really happen to you?  If so, I'd be very interested in the specifics!
WHAT did they change, and in WHICH API?!




"Eric N. Wilson" <doulos1@home.com> wrote:
> I have learned my lesson about creating my own headers for API's, I
>  will
> give you a hint "DON'T EVEN THINK ABOUT IT". Early on in the
>  development of
> APIs on the AS/400 (V3R1???) IBM had the fields to a certain API
>  defined one
> way then on the next release certain very important fields changed
>  their
> lengths/types. Now I know that that is not to ever happen again but
>  just to
> be safe I will continue to ?COPY QSysInc/QRPGLESRC,xxxxx just safer
>  all
> around.
>
> ______________________________________________
> Eric N. Wilson
> President
> Doulos Software & Computer Services
> 2913 N Alder St
> Tacoma WA 98407
+---
| 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 ...

Follow-Ups:

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.