|
This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
busted. good catch Gary. That program was so danged old I assumed it was
opm.
Type of program . . . . . . . . . . . . . . . : ILE
Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin
Gary Guthrie <garyguthrie@charter.net>
Sent by: rpg400-l-admin@midrange.com
11/20/2002 09:50 AM
Please respond to rpg400-l
To: rpg400-l@midrange.com
cc:
Fax to:
Subject: Re: What's the difference?
You had BIFs, null support, and extended operations in RPG III?
Gary Guthrie
rob@dekko.com wrote:
>
> This is a multipart message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Omitted parms in the middle.
>
> In OPM this was done by checking, not PARMS, but the address of each
> field. For example, if I called a program using parm1 and parm4 but not
> parm2 nor parm3. The called program would check the address of parm2 by
> using if %addr(parm2)=*null. If it was null do not do anything with it.
> Do not even try to clear it, move blanks or zeros to it, not anything.
> Otherwise you get the MCH error.
>
> When would this ever happen in real life? When using a command to drive
> your program. For example I made a command called RTVJOBD. This
command
> calls a rpg program. Now, the program using this command may not care
> about some obscure job description property, thus it won't put a
variable
> name in that parameter. If the parameter is not null then I assign the
> value of that variable from a result field from the api to retrieve a
job
> descriptions attributes.
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.