|
Mark, I usually get that message when I have not set a parameter in a calling program, and im trying to use it in the called program, or I am passing a field that is longer or shorter than the parameter field that I have declared and so am messing up the parameters somehow cheers Colin.W ----- Original Message ----- From: "Taylor, Mark W" <MarkWTaylor@xxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, February 04, 2004 9:53 PM Subject: Pointer not set for location referenced > 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? > > MarkWTaylor@xxxxxxxxx > Columbus, OH > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.