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



Hi Mark,

You didn't  give enough information for me to determine what the problem
is.  Somewhere you're either trying to access a variable that's based on a
*NULL pointer, or you're trying to work with a parameter that has not been
passed.

Are any of the parameters that you're using in that CALL operation defined
with the BASED d-spec keyword?   Or, were they supplied to your
program/procedure as parameters?

The best way to troubleshoot this error is to first figure out the exact
statement that the error is occuring on.   Then, trace back all of the
variables used in that statement and find out where they came from.  One
of them is either a parameter that's not passed, or it's a BASED variable
that's not set to a valid location...


On Wed, 4 Feb 2004, Taylor, Mark W wrote:

>       I'm having a problem that is driving me nuts.
>       I have two RPGLE programs; one calls the other with parms.
>       I've added a 7 character *ENTRY parm to the called program and
> defined the parm in both programs in the D specs.
>       The call looks like this (@RelsNo is the new parm):
>       C                   CALL      'KBRLSR1 '
>       C                   PARM                    KPITEM
>       C                   PARM                    KPHOUSE
>       C                   PARM                    OQUANTY
>       C                   PARM                    @Origcode
>       C                   PARM                    KPCTRL
>       C                   PARM                    KPVNDR
>       C                   PARM                    @Ordnbr
>       C                   PARM                    @RelsNo
>       They compile fine. But when I run the programs, I get error: MCH3601
> "Pointer not set for location referenced"
>       I dug around through the archives and found message thread msg00680
> which is the exact same problem. I tried all the suggestions but none of
> them resolve my problem.
>       Any ideas?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.