Midrange Systems Design - IBM i5 tm Software
Trace RPG 3 & 4 - Prints a list of the calculation statements after they are executed, and the values in factor 1 & 2, the result field and indicators. How it works, it reads your source code, creates a new source file with an except after each line of source. When the new program is compiled and executed, you get a printout of everything your program did. The new source is always another name "RPGTRCWRK", but the object program can be the same name.
Why Trace instead of debug
Trace RPG Free Format - The above program does not support free form RPG. However, Search400 has a program called TraceIt that does.