SET INTERCEPT command (COBOL, remote debug mode)

Intercepts output from COBOL DISPLAY statements. Output is displayed in the Debug Console. Output intercepts remain in effect for the entire debug session, unless you terminate them by entering the SET INTERCEPT OFF command. The initial setting is OFF.

Read syntax diagramSkip visual syntax diagram SET INTERCEPT ONOFF ;
ON
Turns on output interception. Output appears in the Debug Console.
OFF
Turns off output interception.

Examples

Turn on the output interception for the console.
SET INTERCEPT ON;

Refer to the following topics for more information related to the material discussed in this topic.