|
Yes it is. If you don't instantiate the object it's by default set to null.
It would be luck passing *OMIT to an RPG program if you did not instantiate
it.
You might not however need to create one for each parameter though. Maybe
just one for each type. I would need to look into a bit more to be sure on
that. I don't use program calls like this too often.
if (parms[5].getOutputDataLength() > 0)
myPackedVar = Integer.parseInt(
myPackedParm.toObject(parms[5].getOutputData()).toString());
}
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.