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



Steve Landess wrote:
> ...
> What kind of program are you trying to debug?  Is it an ILE program?  You
> can't trace an ILE program.
>
> Here is a snippet from the help text for ADDTRC:
>  o   You cannot use this command to trace bound programs.
> ...
> And what is ZTRCPGM?  Sounds like a user-written command to me.
> ...

Steve, you can't trace an ILE program with ADDTRC, but with ZTRCPGM you
can.  It's in QUSRTOOL.  See QUSRTOOL/QATTINFO TTEINFO.

I've played with ZTRCPGM and found it useful once when tracing was more
useful than source level debugging.

Gary, it works for me if I do
===> ZTRCPGM SET(*ON) PGM(QTEMP/PROOF) STEP(*OVER) OUTVAR(*ALWAYS)
but only if I do the ZTRCPGM before running the program.

I'm not sure that it's supported to start in the middle of the debug.
The documentation doesn't say one way or the other.

Barbara Morris




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.