SCAN

Purpose

The SCAN option instructs ABO whether to optimize or to scan the program modules

Read syntax diagramSkip visual syntax diagramSCAN= NY

Default

SCAN=N

Usage

When SCAN=N is in effect, ABO performs optimization on the input program modules.

When SCAN=Y is in effect, ABO scans the input program modules instead of performing optimization. No output modules are produced.

The REPLACE=N option can affect whether scanning is performed:
  • If REPLACE=N is specified on the BOPT directive and the output module on the OUT option already exists, scanning of the module on the IN option is bypassed.
  • If REPLACE=N is specified on the IEFOPZ directive, scanning of the member of the OLD data set is bypassed if the member of the NEW data set already exists.
If you exclude the OUT option on the BOPT directive, scanning is always performed regardless of the value of the REPLACE option.

In the scanning mode, the optimizer checks the input and output program modules, and lists the CSECTs in the modules. Scanning output is written to the OPTLOG DD.

You can use SCAN=Y to test the SYSIN setup or to see what modules are present and their contents. If the program is ineligible for optimization due to the original compiler used, this is also indicated in the scanning output.

For more information, see The log file for scanning.