× 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 John,

No /COPY or /INCLUDE statements. Although had there been, I was using DBGVIEW(*ALL) which includes a source listing with copybooks expanded, and I checked that as well when it went to an unexpected statement.  It showed the same as the other lists.

No CL doing any OVR* commands.

If you exit with F12, then you must have set a breakpoint before that. Pressing F10 goes into step mode, and since the program is not executing, it simply returns to the command line.  Then when the program is called, it breaks at the first executable statement.

Which reminds me of another thing that affects what the debugger shows: both programs were compiled with

H Debug option(*srcstmt:*nodebugio)


On 8/9/2018 6:57 AM, Voris, John wrote:
Are there any /COPY copybooks in the RPGLE pgm or module ?
Are there any CL doing any kind of OVR*** commands ?

Also, I always Exit with F12 and then invoke the program with a CALL. I do not use F10.

When I started debug, it showed the correct source, then I pressed F10 to get back to the command line and invoked the program.? The first place it broke was not only not *inzsr, it was about 200
statements into the program - not even close to the first statement.
*Peter Dow*


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.