× 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.



For ILE programs, change your DBGVIEW option to *ALL (my preference) or *LIST. Then you have the listing contained in the program object. (SQL programs need to be *SOURCE but that is the same as *ALL, plus SQL-specific views.)

For OPM programs, add *SRCDBG and *LSTDBG to the OPTION parameter - or just *LSTDBG. Having *SRCDBG in their doesn't add much to the size - it only lists the 30 or so characters that tell where the source is.

You can always remove this later when you put the program into production.

HTH
Vern

Neill Harper wrote:
We have change management software that compiles our programs into temporary
libraries before distributing them.

When using STRDBG, the message no source available appears and it appears to
be trying to find the source in the temporary library that was used for
compilation.

Anyone know how to tell the OS where the source actually is.

i.e Program is in PGMLIB, source is in SRCLIB, but os is looking for source
in WRONGLIB.

Is there a way to tell the debugger, actually the source is in source lib?




Neill Harper (MCHEM, MCTS)

(Views are my own, and not that of any employer)



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.