SQR Trace

One of the first things you learn as a PeopleSoft developer is to add debug flags in an SQR program and then to run the program with debug flags turned on to get additional information in your .log (.out in the process monitor) file.

The general syntax is to append:
-debug[trace flag letters]

Some of the common trace flags include -debugd generally for data and -debugf for flow (where you are in the program). You can determine the flags you want my scanning through the SQR (related SQCs) and picking out the appropriate trace flag letters by looking for #debug[letter] statements in the code.

Or, you can use a catch-all like this (note it also catches just a -debug statement without a letter at the end)
-debugabcdefghij

Note you can't use the entire alphabet at once as the debug flag is limited to a maximum of 10 characters.

You do this in the process definition by appending to the parameter list in the override options like so:

catch-all-sqr-trace-debug-flags.png
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License