I ran into this issue today -
I coded a procedure in a service program, that has amongst its parameters
I called the procedure, passing *OMIT.
The procedure has a line
And that line died with one of those "pointer reference not set" errors.
I don't have this issue with parameters of other types, including data pointers.
Does RPGLE not like having *OMIT passed on a procedure pointer parameter?
Does it not like CONST there?
(I passed in *NULL instead, that works).
I coded a procedure in a service program, that has amongst its parameters
Code:
MyCallback pointer(*proc) const options(*nopass:*omit);
The procedure has a line
Code:
if (%parms() >= %parmnum(MyCallBack))
I don't have this issue with parameters of other types, including data pointers.
Does RPGLE not like having *OMIT passed on a procedure pointer parameter?
Does it not like CONST there?
(I passed in *NULL instead, that works).
Comment