|
Hi Charles,
Your second option of building the DS is also too cumbersome for me.
(Again, this is just my opinion)
d parm1 ds likeds(NullableDate_t) inz(*LIKEDS)
d parm2 ds likeds(NullableWhatever_t) inz(*LIKEDS)
parm1.value = FILEDATE;
parm1.isNull = %nullind(FILEDATE);
parm2.value = whatever;
parm2.isNull = %nullind(whatever);
MyCoolProcedure(somedata: parm1: parm2);
For sure, it's not nearly as ugly as the *OMIT scheme, but it's still
too ugly... and with this scheme, if the parameter can be used for
output, you have to move the data back afterwards...
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.