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



On 19-Apr-2016 17:39 -0500, Hoteltravelfundotcom wrote:
I am having trouble recalling how to do ADDTRC.

I am getting this error message:

ADDTRC
No default program exists.

That would be the msg CPF1902 F/QTECADTR

Have you tried using F1=Help on the message and reading what is suggested in the Recovery section? Or use ?ADDTRC instead of ADDTRC, and read the parameter descriptions; notably, the Program (PGM) parameter that defaults to the Default Program (*DFTPGM).


What I am doing is, I have to add one field to a large subfile
program. My add is not part of the subfile.

The program has display mode, and entry.

I want to see what statements my particular part are hitting at
entry mode because I am not writing output in the correct place.

A trace as I recall, will tell you what statements were hit?

For a debug-enabled OPM program at least, the Add Trace (ADDTRC) will enable that, by use of the Display Trace Data (DSPTRCDTA) command; the data can be cleared with Clear Trace Data (CLRTRCDTA) and the trace ended with Remove Trace (RMVTRC) [again, for the particular\default PGM() specified].


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.