|
Eric, For one of the programs, I am using a named activation group. For the modules that seem to be having the problem (which are in the service program), I am using *CALLER with a Shared AG(*NO). I was thinking along the same lines that maybe somewhere a RCLACTGRP was being called but I not using that command anywhere. We are running MAPICS ERP software which (primarily) is not written in ILE. I was thinking of changing the one program from the named AG to *CALLER.Eric
---------------------------------------------------------------------- From: "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx> Reply-To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Subject: RE: Pointer not set for location referenced. Date: Tue, 6 Jun 2006 17:17:35 -0500 >Eric, > >Are any of your apps trying to reclaim activation groups? You use *Caller for all your ILE modules, but you didn't say whether you use named AGs or *NEW. In any case, it sounds like parts of your app are being reclaimed, leaving the still active parts with invalid pointers. > >Eric DeLong >Sally Beauty Company >MIS-Project Manager (BSG) >940-297-2863 or ext. 1863 > > > >-----Original Message----- >From: rpg400-l-bounces@xxxxxxxxxxxx >[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Eric Wolf >Sent: Tuesday, June 06, 2006 4:05 PM >To: rpg400-l@xxxxxxxxxxxx >Subject: Pointer not set for location referenced. > > > To the list, > I have looked through the archives but cannot seem to find an explanation > for what is occuring. Here it is: > > My users are receiving this error MCH3601 Pointer not set for location > referenced on different programs during the day. All the programs are > using modules of a service program to retrieve a single record from a > file. Each module is being passed the external datastructure of the file > to be retrieved and the datastructure is being cleared and the key fields > are being reset before each execution of the module. They pretty much all > look something like this: > > /free > ... > clear carrier; > carrier.id = ordcarrier; > carrier = RtvCarrier (carrier); > ... > /end-free > Every once-in-a-while, the error appears when attempting to execute the > RTVCARRIER statement. After receiving the error message, the users sign > off and back on again and all is fine. None of the modules have changed > and new modules are added to the end of the SRVSRC BND > member. The programs that are "calling" the modules are compiled with the > ACTGRP(*CALLER) > > Any suggestions as to where to focus my attention would be greatly > appreciated... > > TIA, > Eric A. Wolf >-- >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. > > > >-- >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.