Data Names and Identifires

by Dinesh 2012-07-24 07:34:47

Data Names and Identifires:


A data name gives reference to the storage space in the memory where the actual value is stored. This value takes part in the operation when that particular data name is used in the PROCEDURE DIVISION.

Identifier is a general term which means the single data name or a data name qualified,indexed or subscripted. Data names are only one form of identifiers. A data name must be a user-defined word and it cannot be a reserved word.

Examples:
Valid Data Names Invalid Data Names
NET-SALARY COMPUTE (Reserved word)
TOT-MARK MULTIPLY (Reserved word)
N100 23 (No letter)
498
like
0
dislike
0
mail
flag

You must LOGIN to add comments