Start of change

INLINE

The INLINE option controls whether the inlining of procedures (paragraphs or sections) referenced by PERFORM statements in the source program is allowed.

Syntax

Read syntax diagramSkip visual syntax diagramINLINE=*YESNO

Default is: INLINE=YES

YES

If you specify INLINE=YES, when OPTIMIZE(1) or OPTIMIZE(2) is in effect, the compiler can inline procedures referenced by PERFORM statements in the source program.

NO
If you specify INLINE=NO, the compiler is prevented from inlining1 procedures referenced by PERFORM statements in the source program, no matter which optimization level setting is in effect.
Note:

1. The word inlining here implies that the compiler might choose to replace the PERFORM of a procedure (paragraph or section) with a copy of that procedure's code. By inserting the procedure code at the location of the PERFORM, the compiler Start of changesaves the overhead of branching logic to and from the procedure.End of change

End of change