×
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.
If your are referring to RPGLE then in the H specification add Option( *Srcstmt ) , the recompile.This will use the source statement sequence numbers. Then when a dump ocurs the statement number will match the source statement number.
Of course this was always the way rpg/400 was handled.
Good Luck
Bill
(All else fails READ THE INSTRUCTIONS)
----- Original Message ----
From: Willie J. Moore <WJMoore@xxxxxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx
Sent: Tuesday, May 20, 2008 6:10:14 PM
Subject: Find a line of code in error
When an error is received on a program. A message is sent to the console and displayed. You can move the curser over the error and press F1 to show the line number in error. But unless you have a compiled listing, you have no reference for that line of code in the source. I have looked at the Create RPG Program option hoping that there was an option to put the compiled line number in the source. Does not look like there is an option for that.
So now we have to either use the Joblog or re-compile the program and look at the compiled listing to find the reference number of the line of code that failed. We then have to go and see what data was enter or ask the user what they entered. Most of the time they do not remember.
I would like to know how others handle this?
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.