Compiler-directing statements

A compiler-directing statement is a statement that causes the compiler to take a specific action during compilation.

You can use compiler-directing statements for the following purposes:

  • Extended source library control (BASIS, DELETE, and INSERT statements)
  • Source text manipulation (COPY and REPLACE statements)
  • Exception handling (USE statement)
  • Controlling compiler listings (*CONTROL, *CBL, EJECT, TITLE, SKIP1, SKIP2, and SKIP3 statements)
  • Specifying compiler options (CBL and PROCESS statements)
  • Specifying COBOL exception handling procedures (USE statements)

The SERVICE LABEL statement is used with Language Environment® condition handling. It is also generated by the CICS® integrated translator (and the separate CICS translator).

The following compiler directing statements have no effect: ENTER, READY or RESET TRACE, and SERVICE RELOAD.