I was, but I changed that after you recommended against it.

-----Original Message-----
From: Tyler, Matt [mailto:mattt@wincofoods.com]
Sent: Friday, September 13, 2002 4:32 PM
To: 'rpg400-l@midrange.com'
Subject: RE: URGENT! - Program Error


Are you using a data structure as a *ENTRY input entry?  Data structure
sub-fields are off limits when the data structure name is used in this
manner and the caller did not pass a parameter to your program for the data
structure.

PGMB
D DSDTA   EDS     EXTNAME('MASTERPF')

*ENTRY PLIST
         PARM           IOFEEDBACK
         PARM           DSDTA


CALLER: PGMA

...
CALL    PGMB
PARM    IOFEEDBACK

....




Thank you,
Matt Tyler
Mattt@wincofoods.com

-----Original Message-----
From: Wills, Mike N. (TC) [mailto:MNWills@taylorcorp.com]
Sent: Friday, September 13, 2002 15:17
To: Midrange - RPG (E-mail)
Subject: URGENT! - Program Error
Importance: High

We are on V5R1, this subroutine hasn't been changed in the program, but now
it bombs out on us. I ran debug. It first does a subproceedure that reads a
DDM file and then it clears a file via a CL, which both complete
successfully. Then when it opens a local file, it bombs out with the
messages bellow.

Here are the messages in the job log:
Message . . . . :   Pointer not set for location referenced.
Cause . . . . . :   A pointer was used, either directly or as a basing
  pointer, that has not been set to an address.

 Message . . . . :   Internal failure in compiler or subroutine.
 Cause . . . . . :   An internal error was found in the compiler or in a
   run-time subroutine. Recovery  . . . :   Contact your service
   representative.

 Message . . . . :   Application error.  RNX9998 unmonitored by CUGPRCSMON
at
   statement *N, instruction X'0000'.

 Cause . . . . . :   The application ended abnormally because an exception

   occurred and was not handled.  The name of the program to which the

   unhandled exception is sent is CUGPRCSMON CUGPRCSMON
_QRNP_PEP_CUGPRCSMON.
   The program was stopped at the high-level language statement number(s) *N
at
   the time the message was sent.  If more than one statement number is
shown,
   the program is an optimized ILE program.  Optimization does not allow a

   single statement number to be determined.  If *N is shown as a value, it

   means the real value was not available. Recovery  . . . :   See the low

   level messages previously listed to locate the cause of the exception.

   Correct any errors, and then try the request again.



Any ideas would be greatly appreciated...

Mike Wills
IT Corporate Support
Taylor Corporation
mnwills@taylorcorp.com
Phone: (507) 386-3187

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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 thread ...


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.