|
I don't like this method as I often see this kind of thing :
MyProc (
client_number :
' ' :
0 :
client_info :
more_client_info :
' ' :
);
Here one can only presume that the parameters with ' ' or 0 aren't used.
In my first example, I can see that client_type isn't initialised so isn't being used, although it probably still needs a comment.
Also when I declare the local variable, I use the same reference field that is used in the prototype.
D MyProc PR
D client_number S LIKE ( REF_client_number )
D client_type S LIKE ( REF_client_type )
I just wondered if this is what *OMIT is for?
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.