Re: calling RPG ILE with parameter list from MI
Denes L <denes1951-FFYn/[email protected]> Sat, 8 Dec 2007 00:52:37 -0500 (EST)
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <[email protected]> |
Oh boy... it just goes to show how much RPG I know, but my RPG programming friends were definitely NOT "supportive" this time.
James, Rich... you guys nailed it! The call requires only ONE arg. Thanks.
About...
> Also, I always define the field first, then the space pointer INITed to
> it. I've never heard of it working the other way around.
and
> The MI language has certain limitations about INITializing objects. I
> remember that when you define an operand list, the variables it refers to
> must be defined previous to the operand list itself, in the MI source.
>From SC41-5800 System API Programming:
"Because DCL statements are actually instructions to the QPRCRTPG API and not MI instructions, they are defined in the QPRCRTPG API."
This means that the order of DCLs and DDs does not matter, but it sure makes the source more readable to us humans.
Denes.
---------------------------------
Instant message from any web browser! Try the new Yahoo! Canada Messenger for the Web BETA
_______________________________________________
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.