+-------------------------------IBM Extension--------------------------------+
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-------'
Notes:
For a complete discussion of compiler output, see the ILE COBOL for AS/400 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.
The options you request are handled in the following manner:
Afterwards, you can specify *CONTROL SOURCE to resume the printing of the source listing.
For more information about compiler options, see the ILE COBOL for AS/400 Programmer's Guide.
Related Information:
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.