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



sjl wrote:
I could easily write a CL program and call it, but I'm trying to it the /modern/ way and I want to call the API from an RPGIV program.

You could write a CL module and bind it in to a *SRVPGM. I don't think 'modern' doesn't need to mean 'avoid CL like the plague'.


I just wish someone would translate IBM's API documentation into something that is easier to use for RPG programmers.

You're unlikely to get RPG-specific documentation specifically for each API. Frankly though, it's not _that_ hard, (except maybe for the most complex APIs) and there is a wealth of information of this topic. General information is freely available from such excellent sources as Barbara Morris[1], Susan Gantner et. al.[2] and the Midrange.com wiki[3]. You can even find worked examples[4] (many submitted by the experts that frequent this list).

For some more specific information and full (and practical!) examples, you can purchase a book like "IBM System i APIs at Work" by Bruce Vining et. al. You can even support[4] Midrange.com when you buy it. You can't ask for a better source on this topic, and this book is well worth it IMHO.

If this information doesn't answer your questions, you'll have better luck asking for help with a specific problem on RPG400-L.


[1] http://www-949.ibm.com/software/rational/cafe/docs/DOC-2679
[2] http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/redp4324.html
[3] http://wiki.midrange.com/index.php/Using_QC2LE_procedures_in_ILE_RPG
[4] http://think400.dk/apier.htm
[5] http://store.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.