Using variables, structures, literals, and constants
Most high-level programming languages share the concept of data being represented as variables (data items), structures (group items), literals, or constants.
About this task
The data in a COBOL program can be alphabetic, alphanumeric, double-byte character set (DBCS), national, or numeric.
You can also define index-names and data items
described as USAGE POINTER
, USAGE FUNCTION-POINTER
, USAGE
PROCEDURE-POINTER
, or USAGE OBJECT REFERENCE
.
You place all data definitions in the DATA DIVISION
of
your program.
Related tasks
Using variables
Using data items and group items
Using literals
Using constants
Using figurative constants
Using variables
Using data items and group items
Using literals
Using constants
Using figurative constants