You can use the following directives to control the behavior of the COBOL Profiler.
- ALL
- Outputs a full performance profile. If you do not set the ALL directive, no statistics are produced for sections or paragraphs that are not entered or PERFORMed
- ALPHA
- Outputs performance statistics in alphabetical order by paragraph name. If you do not specify ALPHA, statistics are output in descending order of the total percentage time spent in each paragraph.
- FORM"integer"
- Specifies the page size in lines for the listing file. The minimum value you should specify is 6. The default size is 60 lines.
- LIST["destination"]
- Specifies where the listing is to be produced.
- If
destination is specified, the output is written to that file.
- If
destination is not specified, then the output is sent to the console, with page headings and page throws omitted. The VERBOSE Profiler directive is also set automatically.
- If you do not set the LIST Profiler directive, then by default the output is produced in a file called filename.prf, where filename is the first name in the files listed on the command line.
- [NO]VERBOSE
- Displays on the screen messages output by Profiler. The default setting is NOVERBOSE, unless the LIST directive is set without a specified parameter, in which case VERBOSE is set automatically.
- WIDE
- Allows lines in the Profiler output to be up to 131 characters wide. If the WIDE directive is not set, lines are truncated to 79 characters.