COBOL DATA ITEMS
Any high level programming language have variable names for each data
point used in the program. In COBOL, data represented using dataitems
(variables). Now let us discuss about how we can declare the dataitems
(variables) in COBOL.
Let us learn what is the meaning of 999 in above example. 9 represents
numeric data, three occurrence of 9 represents size of dataitem. 9(3)
equals to 999. It can store 3 numeric digits of data. In Next Page we
will see different types of code characters available in COBOL and their
Initialization of data items in working-storage section happens using VALUE
clause. VALUE clause need to code after picture clause as shown below.