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



I have a CRTPGM composed of a CLLE module and a RPGLE module.  CLLE's 
first.  CALLPRC the RPGLE module.  When the RPGLE module tries to return a 
variable I am getting MCH3601 message.

MCH3601-Pointer not set for location referenced.
From program . . . . . . . . . :   YADDA 
  From library . . . . . . . . :     TROYM 
  From module  . . . . . . . . :     DCADPTRP
  From procedure . . . . . . . :     DCADPTRP
  From statement . . . . . . . :     110 
 
To program . . . . . . . . . . :   YADDA 
  To library . . . . . . . . . :     TROYM 
  To module  . . . . . . . . . :     DCADPTRP
  To procedure . . . . . . . . :     DCADPTRP
  To statement . . . . . . . . :     110 



CL **** module ****
             PGM

             DCL        VAR(&RUN) TYPE(*CHAR) LEN(1)

/* Prompt:                                         */

             CALLPRC    PRC(DCADPTRP) RTNVAL(&RUN)

rpgle **** module ****
     D DCADPTRP        PR             1a

     P DCADPTRP        B                             export
     D DCADPTRP        PI                  like(runp)      *entry plist

     D runP            s              1a
...
       RUNp        = *IN08;
       RETURN runp;  // in compile listing, this is stmt 110.

CRTPGM PGM(TROYM/YADDA) MODULE(TROYM/DCADPTC TROYM/DCADPTRP)

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.