INLINE

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

INLINE option syntax

Read syntax diagramSkip visual syntax diagramINLINENOINLINE

Default is: INLINE

Abbreviations are: INL | NOINL

INLINE
INLINE is a potential performance-boosting option.

Specifying INLINE causes the compiler to allow the inlining of procedures referenced by PERFORM statements in the source program when OPTIMIZE(1) or OPTIMIZE(2) is in effect. Whether or not to inline procedures in a specific PERFORM block is determined by the compiler.

Inlining1 can be prevented for specific paragraphs by using the >>INLINE ON and >>INLINE OFF directives in the program source code when memory usage is a concern and there is a desire to reduce the overall size of the executable, such as in a CICS® region.
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 saves the overhead of branching logic to and from the procedure.

NOINLINE
Specifying NOINLINE causes no inlining of procedures referenced by PERFORM statements, regardless of the optimization level in effect. NOINLINE can be specified in cases where there is a desire to reduce the overall size of the executable when memory usage is a concern, such as in a CICS region. NOINLINE cannot be overridden by using the >>INLINE ON directive.

Related references  
INLINE directive (Enterprise COBOL for z/OS® Language Reference)