× 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.



I rarely use *Omit parms. But with *NoPass parms I usually have a local
variable defined the same as the parm with an appropriate default. If
the parm is there, I put the parm in the variable. Then I can always use
the local variable when I call the 2nd procedure.

HTH,
Roger Mackie


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Arthur.Marino@xxxxxxxxxxxx
Sent: Thursday, May 01, 2008 9:08 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Relaying a (not) passed parm to another proc


I have a situation where some option(*omit) parms which are input to a
proc must then be passed to another proc. If the parms are actually
passed to the first proc, no problem when calling the second proc. But
what if they're not? If I code their names in the callp (to the 2nd
proc), and they're *null, won't I get an error? Or would this be the
only time it's ok to use an unreferenced field? If not, do I have to
code various callp's to account for the combinations of presence/absence
of the parms?

Thanks.

Arthur J. Marino
Southern Container Corporation
(631) 297 - 2276

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.