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



Not around here that I’ve seen in a long time Paul - but still has a web site!


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 24, 2014, at 11:04 AM, Paul Nelson <nelsonp@xxxxxxxxxxxxx> wrote:

Is Leif still around? He's one of the smartest guys I've eve encountered.

Paul Nelson
Cell 708-670-6978
Office 409-267-4027
nelsonp@xxxxxxxxxxxxx


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon
Paris
Sent: Friday, October 24, 2014 10:01 AM
To: Midrange-L Midrange-l
Subject: Re: MI embedded in RPG (ZMILIB/CRTRPGMI?)

Just realized for anyone that tried to follow it - the link in my article to
Leif's MI information no longer works - but you can find much of his
information on MI here: http://www.leif.org/as400/handout.pdf


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 24, 2014, at 10:55 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

GENOPT(*LIST) is kinda fun - I learnt about it when I was first introduced
to System/38 back in CPF v5 timeframe. I was doing COBOL at the time - and
if anything the commenting in the generated COBOL code is even better than
for RPG.

We used to use the MI listing to help us work around the bugs in the COBOL
compiler that we encountered while doing an NCR -> S/38 conversion. Later
when I joined IBM in 1986 the compiler team were amazed at the number of
bugs I reported within the first few months I worked there. We'd been
working round them for years but we never had the time to go through the
reporting process!

Pity something similar wasn't doable with the ILE compilers - but that's
another story.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 23, 2014, at 5:59 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

First of all, thanks to everyone who responded.

Jon, I had never thought to explore GENOPT(*LIST), and now that I
have, I must say I'm pretty impressed. The generated MI code even has
comments! As for the C-wrapper approach, once you mentioned it, I
started doing some more Googling and found this, which you may find
familiar:


http://www.ibmsystemsmag.com/ibmi/developer/rpg/Utilizing-MI-Functions-in-RP
G-Programs/

Yeah, it's 10 years old, but that still makes it several years newer
than the program I'm dealing with.

I have follow-up comments for some of the other respondents as well,
but right now I've got to run.

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.