With the *CONTROL (or *CBL) statement, you can selectively display or suppress the listing of source code throughout the source program.
*CONTROL (*CBL) Statement - Format .----------------. V | >>-+-*CONTROL-+----+-SOURCE-----+-+--+---+--------------------->< '-*CBL-----' +-NOSOURCE---+ '-.-' | (1) | +-LIST-------+ | (1) | +-NOLIST-----+ | (1) | +-MAP--------+ | (1) | '-NOMAP------'
For a complete discussion of compiler output, see the IBM Rational Development Studio for i: ILE COBOL Programmer's Guide.
The *CONTROL and *CBL statements are synonymous.
The characters *CONTROL or *CBL can start in any column beginning with column 8, followed by at least one space or comma and one or more option keywords. Separate the option keywords with one or more spaces or commas. This statement must be the only statement on the line, and continuation is not allowed. The statement can end with a period.
Afterwards, you can specify *CONTROL SOURCE to resume the printing of the source listing.
For more information about compiler options, see the IBM Rational Development Studio for i: ILE COBOL Programmer's Guide.