P
Peter Judge
Guest
-FILENAME (or the PROFILER’s FILE-NAME attribute) is the profiler’s output file . It can be fulloy or relatively pathed; if the latter, it’s to the session’s working directory (start-in). -OUTFILE looks to be the same thing. Do you see data written when you shut the agent down? I’d recommend using the PROFILER handle and turning profiling on and off in the activate – this way you get more control or what is written and when (add the WRITE-DATA() calls to the deactivate procedure). When using the PROFILER handle, make sure you set the ENABLED property to TRUE first, then all of the options (file-name etc), and only then set PROFILING to true (starts measuring).
Continue reading...
Continue reading...