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



+1

Agreed. I took one of his MI classes at a Common Conference
many years ago. It cost $90.00 and even though I don't play
with MI, it was worth every penny :) I learned a lot about
OS/400 from his course...

Terry


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On
Behalf Of Paul Nelson
Sent: Friday, October 24, 2014 11:05 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: MI embedded in RPG (ZMILIB/CRTRPGMI?)

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-F
unctions-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.


Confidentiality Notice: The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.


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.