× 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 Emil,

The problem is in the MI Source program. Should be easy to locate. You compiled Leif's RPG program that has the MI source "embedded" in an array, then ran the compiled RPG program, and that's when you got the error, right? Probably a /* out of place or something like that. I suspect we need to add the /* to the first line of the RPG program (you have to have the /* in place so the MI compiler thinks the entire RPG source program is one big comment block, which is the nifty trick that makes it work.).

If you could send me your RPG source program, I will try to spot the error. I no longer have my own iSeries to play with at home.

thanks

Rich

By the way, IBM: Why can't we use the /**/ combination in RPG /Free format source to denote comment blocks? Why not? C and Java allow it. And isn't the intention to transform RPG into C++ or Java eventually? I still tend to think the // glyph is for JCL statements!

----- Original Message ----- From: < >
To: <mi400@xxxxxxxxxxxx>
Sent: Thursday, August 16, 2007 6:15 AM
Subject: Re: [MI400] front end RPG MI program


Hi Rich,

here u have the logs when I run the RPG crtmipgm programm:

ID message . . . . . . : CPF6301 Gravité . . . . . . . : 40
Type de message . . . : Arrêt programme
Date d'envoi . . . . . : 16/08/07 Heure d'envoi . . . . : 13:06:05

Message . . . . : Intermediate representation of program (IRP) contains 6
errors. Probable compiler error.
Cause . . . . . : A syntax error was detected during analysis of IRP text.
Recovery . . . : No recovery. Report the problem (ANZPRB command).





----Message d'origine----
De: "Don" <dr2@xxxxxxxx>
A: "'MI Programming on the AS400 / iSeries'" <mi400@xxxxxxxxxxxx>
Date: Thu, 16 Aug 2007 01:03:02 -0400
Sujet: Re: [MI400] front end RPG MI program

Damn. When he said it was off list I though he was going to say something
interesting...like Jill Hennesey's home phone # or perhaps how the new v6r1
stuff works under the covers...

Yes boys and girls, when you goto v6r1 the conversions going to be kinda
like going from CISC to RISK - on a conceptual basis...they've redone a
lot...but the conversion instructions are a lot smaller than the NY city
phone book...:)

OH! And, then there's blade....finally...just when the product is about to
die... :)

Nite...

Don in DC

============================================

-----Original Message-----
From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx] On
Behalf Of Rich Hart
Sent: Wednesday, August 15, 2007 7:15 PM
To: MI Programming on the AS400 / iSeries
Subject: Re: [MI400] front end RPG MI program

Hi Emil,

This is a private reply to you, "off list" for now.

As you might have noticed, the MI list is about dead. Everybody wants to
master Java and C# now, including myself.

Since I am unemployed right now (due to a choice to move away from my dream
job back to my family), I can help you with the errors if you like. Sounds
like RPG errors; I have *lots* of experience in that. On the MI side, I am
not an expert, but have at least mananged to compile and run every MI
program that I have tackled. Nothing too fancy. And of course, getting the

MI precompiler part to work should be no problem.

MI is a useful exercise in understanding a bit better how the iSeries works
"under the covers", but it's probably not a practical business skill
anymore! Fun though.

Let me know if you want my help. A text file of your Error log would be a
good start.

thanks

Rich Hart
richhartf@xxxxxxx

----- Original Message ----- From: "emilnico" <emilnico@xxxxxxx>
To: <mi400@xxxxxxxxxxxx>
Sent: Wednesday, August 15, 2007 3:23 PM
Subject: [MI400] front end RPG MI program


Hi folks,
I copy and past the RPG front-end MI compiler of Leif Svalgaard.
When I run it on an V5R3 Os I have 5 errors without logs.
Have u an idea ?
Thanks.
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



-------------------------------------------------------------
Noos, votre bureau virtuel sur Internet : Mail...
Web : webmail.noos.fr



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.