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



Well I'm going to open this back up, because I'm still lost.
I have the procedure compiled.  Blows up on the run telling me ' Pointer not
set for location referenced'
So my calling program looks like this

Callp   gemail(QAHSTDS)   looks good here.

Procedure here.

 D QAHSTDS       e ds                  ExtName(QAHST00) Based(pQAHSTDS)
  * __________________________________________________


P GEMAIL          B                   EXPORT

D GEMAIL          PI
D QAHSTDSp                            LIKE(QAHSTDS)

D pQAHST00        s               *   Inz


D EMAIL           S              1



c                   Eval      pQAHST00 = %Addr(QAHSTDSP)

C/EXEC SQL
 C+ SELECT QPEMAIL INTO :EMAIL  FROM QACTL00 WHERE QPCODE =
 C+ :QHCODE
 C/END-EXEC

Blows when executing the SQL.   QPEMAIL is a field from the data structure
QAHSTDS.

QAHST00 is an externally described file.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.