Data names and identifiers - cobol program, COBOL Programming

Data Names and Identifiers: 

The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whenever that specific data name is used in the Procedure Division.

The Identifier is a general term that means the single data name or a data name qualified, indexed or subscripted. The Data names are only one form of the identifiers. The data name should 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) 

 

 

 

 

Posted Date: 10/16/2012 3:30:27 AM | Location : United States







Related Discussions:- Data names and identifiers - cobol program, Assignment Help, Ask Question on Data names and identifiers - cobol program, Get Answer, Expert's Help, Data names and identifiers - cobol program Discussions

Write discussion on Data names and identifiers - cobol program
Your posts are moderated
Related Questions
PROGRAM FOR PERFORM ...UNTIL We have to write a program to find the sum of "n" natural numbers. Identification division. Program- id. PerfUntil. Environment division.

77 level used for- It is Elementary level item. it Cannot be subdivisions of other items or cannot be qualified, or they can be subdivided themselves.

ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below:

Point Location: The position of the decimal point is the other characteristic which can be specified in the case of the numeric data items. If the position is not specified, t

CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i