For numeric data items, we use the Usage clause in COBOL. It tells the form data is stored internally on the computer. We can use it with any level number other than 66 or 88. Here are more rules for Usage clause.
COBOL usage clause
USAGE IS DISPALY COMP COMP-3
The USAGE clause may be used both in group item or an elementary item. If it is used in group item then it applies to all the items in that group.
Usage clause example
01 Table-1 usage is COMP. 05 item-1 pic 9(10). 05 item-5 pic 9(5).
You must be logged in to post a comment.