#pragma info (C++ only)

Purpose

Controls the diagnostic messages that are generated by the compiler.

You can use this pragma directive in place of the INFO option.

Syntax

Read syntax diagramSkip visual syntax diagram
                         .- ,--------.        
                         V           |        
>>-#--pragma--info--(--+---suboption-+-+--)--------------------><
                       +-suspend-------+      
                       '-resume--------'      

Defaults

See the INFO option in the z/OS® XL C/C++ User's Guide.

Parameters

suboption
Any suboption allowed by the INFO compiler option. For details, see the description of the INFO option in the z/OS XL C/C++ User's Guide.
suspend
Suspends the diagnostics that the pragma or INFO compiler option performs during specific portions of your program.
resume
Resumes the same level of diagnostics in effect before the suspend pragma was specified.

Related information