How to take SQR Trace

catch-all-sqr-trace-debug-flags.png


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)
-debugabcdefghijklmnopqrstuvwxyz
You do this in the process definition by appending to the parameter list in the override options like so:
SHARE

peoplesoft

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Phaniraavi@gmail.com