× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.