Re: front end RPG MI program
"Rich Hart" <[email protected]> Thu, 16 Aug 2007 08:47:43 -0500
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <000301c7e00c$053cf9a0$030fa8c0@NORIHART> |
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-Zwy7GipZuJhWk0Htik3J/[email protected]> 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-8VsyYNX/[email protected]> >A: "'MI Programming on the AS400 / iSeries'" <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> >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-Zwy7GipZuJhWk0Htik3J/[email protected] [mailto:mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] 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 >[email protected] > >----- Original Message ----- >From: "emilnico" <[email protected]> >To: <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> >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-Zwy7GipZuJhWk0Htik3J/[email protected] >> To subscribe, unsubscribe, or change list options, >> visit: http://lists.midrange.com/mailman/listinfo/mi400 >> or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] >> 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-Zwy7GipZuJhWk0Htik3J/[email protected] >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/mi400 >or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] >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-Zwy7GipZuJhWk0Htik3J/[email protected] >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/mi400 >or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] >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 _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] 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-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.