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



Hi John,

I have the source for a CRTMIPGM command (with associated CLP and RPGLE programs) that has the following comment:

* CREATE MI PROGRAM
*
* Uses QPRCRTPG API to create a program from MI source.
* Source statements are loaded from the source member into array MI, then
* the API is called to create the program.
*
* The basis for this was a program written by Leif Svalgaard for the MI400-L
* mailing list at www.midrange.com on 11/08/1999.

Not exactly what you were looking for, but suggests to me that someone wrote something similar that pre-processes source containing RPG and MI and creates a *PGM object from it.

If you're interested, I can send you the source.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx>

/
On 10/23/2014 11:33 AM, John Yeung wrote:
Hey folks, here's one you probably don't hear every day:

What are my options for compiling an RPG program that contains embedded MI code?

In my particular case, the RPG is RPG III or RPG/400, and it contains
what appear to be preprocessor directives #BEGIN and #END (the '#' is
in column 1), which delimit the MI code.

The comments at the top of the source indicate that ZMILIB must be in
the library list, and the program object created by the CRTRPGMI
command. As you may guess from the fact that I'm asking, these don't
exist anywhere on our current system, and I'm not having any luck
Googling these things.

John Y.



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

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.