PROFILE

PROFILE controls the use of an optional PROFILER to collect performance data for the running application.

Restriction: An application cannot run with both the TEST and PROFILE options in effect. If both are specified, an informational message is generated and Language Environment forces the PROFILE option OFF.

The default value for non-CICS applications is PROFILE(OFF,'').

The default value for CICS® applications is PROFILE(OFF,'').

The default value for AMODE 64 applications is PROFILE(OFF,'').

Read syntax diagramSkip visual syntax diagram
Syntax

               .-OFF-.                     
>>-PROFile--(--+-----+--,--+--------+--)-----------------------><
               '-ON--'     '-string-'      

OFF
Indicates that the profile facility is inactive.
ON
Indicates that the profile facility is active.
string
Profile options that Language Environment passes to the profiler installed. You can enclose the string in either single or double quotation marks. The maximum length of the string is 250 bytes when specified on program invocation or from a compiler directive.

For more information

For details on the Performance Analyzer, see Getting Started with C/C++ Productivity Tools for OS/390®, GC09-2918-00.