|
Now I'm really confused.
I'm just now getting around to testing what I thought was a sound solution
to my redefining data structure fields as an array. here is the code:
DDSINPUT E DS EXTNAME(DSUPDPAG)inz
* dsupdpag has QZAMT1-12 and QZCHK1-12 defined.
D $QzAmtBase S * inz(%addr(QZAMT1))
D $QzAmt S like(QZAMT1) based($QzAmtBase)
D dim(12)
D $QzChkBase S * inz(%addr(QZCHK1))
D $QzChk S like(QZCHK1 ) based($QxChkBase)
D dim(12)
DSINPUT just happens to be a parameter to the web API QtmhCvtDb.
On the first reference to $QzAmt() in the calcs, I'm getting a RNQ0222 -
Pointer or parameter error (C G D F).
Cause . . . . . : RPG procedure WWUPDPAG in program WEB/WWUPDPAG at
statement 1220 had an error due to a pointer not being correctly set. The
cause of the error is most likely one of the following:
-- A basing pointer was not set.
(etc.)
Why would my pointer not be set? Is the fact that my data structure is
part of a PList to another program causing me trouble?
any other suggestions?
thanks
Rick
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 [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.