|
From the perspective of the called procedure, disregarding theexisting implementation requirements...does it really matter to the
It's only jumping through extra hoops because he allowed *NOPASS (not
because of *OMIT, which *can* be passed through without problems, as you
yourself have already pointed out.)
Having a null-capable variable (like you have in a database) with
*NOPASS support would cause the same problem as *OMIT:*NOPASS.. because
the problem isn't the *OMIT or the null-support... it's the *NOPASS.
to put it another way: The reason you use *NOPASS is because you don't
want to have to pass all of the variables each time you call the
routine. *OMIT is clumsier to the caller, because you have to specify
*OMIT, even if you don't pass it. Using null-capable fields (taken from
a database, and passed with options(*nullind)) would have the same the
same problem. You'd have to pass all of the parameters each time. You
couldn't leave them off when you don't need them. Only *NOPASS gives
you the ability to leave them off. If *NOPASS is desired, you'll always
have to check %PARMS, not only the null indicator.
As an Amazon Associate we earn from qualifying purchases.
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.