Re: front end RPG MI program
Bruce Vining <bvining-r/[email protected]> Fri, 17 Aug 2007 06:10:05 -0500
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <OF1262DABA.A30518CF-ON8625733A.003BD4D9-8625733A.003D7E78@us.ibm.com> |
Rich, I'm certainly not disagreeing with your statement regarding "several very awkward CL programs", but the Information Center does have the qualifying: ----- Note: All non-MI source examples are provided in CL, because CL is the one language (other than REXX) that is standard on all systems. Other high-level languages (HLLs) could be used in place of the CL programs (and in many cases would have been easier). ----- Back in V1/V2 days when (some) users were clamoring for introductory material on using MI it was deemed inappropriate to say you had to buy a compiler such as RPG, COBOL, PL/I, C, etc in order to use the inherent OS/400 capability to create MI programs. This would still be true today, but was especially true then as each language compiler was separately priced and ordered back in V1/V2. To tell a COBOL user they had to buy the RPG compiler to get started (assuming RPG was used rather than CL), or the RPG user that they needed PL/I just didn't seem to be the best solution. So CL was used as it represented the one language most users would be familiar with. Today, with direct CL support for pointers, larger *Char variables, IFS *STMFs, etc the examples could certainly be streamlined and made less "awkward". But then today you can also directly imbed ILE MI into any of the ILE languages so the need for updating/enhancing the OPM MI examples isn't real high (or, as you say, strategic). Bruce Vining (speaking only for himself and with a bit of a historical view on this) "Rich Hart" <[email protected]> Sent by: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] 08/16/2007 08:57 AM Please respond to MI Programming on the AS400 / iSeries <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> To "MI Programming on the AS400 / iSeries" <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> cc Subject Re: [MI400] front end RPG MI program Mark, Are those examples on the Web site better than the ones that used to use several very awkward CL programs to put together the front end? Because a blind man could do better in the dark than those examples! Perhaps IBM has updated the examples though. But probaby not. They don't see OPM MI as a strategic product. Chuckle. ----- Original Message ----- From: "Mark S. Waterbury" <[email protected]> To: "MI Programming on the AS400 / iSeries" <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> Sent: Thursday, August 16, 2007 8:48 AM Subject: Re: [MI400] front end RPG MI program > Hello, Emilnico: > > Problems were very likely introduced when using "copy and paste" ... > > Try using FTP to upload the source member directly from your PC to the > source file, and then try recompiling it and running it again. > > Or, see the V5R3 InfoCenter, under "Programming", "APIs", "MI > Programming" and there you will find that IBM now provides several > examples of how to create a front-end for the QPRCRTPG API. > > Hope that helps, > > Mark S. Waterbury > > > emilnico wrote: >> 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. _______________________________________________ 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.