ILE COBOL Language Reference
The different USAGE clauses that you can specify for the original item
result in a limited number of comments. Table 12 illustrates this.
Table 12. Comments Generated based on Inherited USAGE Characteristics
| Inherited USAGE Clause
| Generated Comment
|
PACKED-DECIMAL
COMPUTATIONAL
COMPUTATIONAL-3
| * USAGE IS PACKED-DECIMAL
|
COMP-1
COMUTATIONAL-1
| * USAGE IS COMPUTATIONAL-1
|
COMP-2
COMUTATIONAL-2
| * USAGE IS COMPUTATIONAL-2
|
BINARY
COMPUTATIONAL-4
| * USAGE IS BINARY
|
| INDEX
| *USAGE IS INDEX
|
| DISPLAY
| This is the default usage, so a comment is not generated.
|
| DISPLAY-1
| * USAGE IS DISPLAY-1
|
| POINTER
| * USAGE IS POINTER
|
| PROCEDURE-POINTER
| * USAGE IS PROCEDURE-POINTER
|
The characteristics of the data item that you define using the LIKE clause
are shown in the listing of your compiled program.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.