To produce Profiler statistics for an application, you need to have compiled your COBOL programs with the PROFILE Compiler directive.
When you run a program with the PROFILE directive, the performance statistics are recorded in a file called program-name.ipf, where program-name is the name of the program for which the statistics are generated. This file is generated in binary format, and must be viewed with the Profiler tool; see Running or Invoking Profiler from the Command Line.By default, the .ipf file is created in the current working directory, but you can change this using the COBPRFDIR environment variable to specify an alternative directory. For example:
SET COBPRFDIR=/myipfdir
Profiler cannot be used on programs running multiple threads.