Data division, COBOL Programming

Data Division:

The Data Division is a part of the COBOL program where every data item processed by the program is described.

It is very important to note that unless a data item is explained in the DATA DIVISION, it cannot be used in the procedure division.

The Data Division is divided into a number of sections like Working-storage section, File Section, Linkage section, Screen section, and Report Section. Depending on the use of the data item, it should be defined in the proper section.

 

Posted Date: 10/16/2012 3:44:46 AM | Location : United States







Related Discussions:- Data division, Assignment Help, Ask Question on Data division, Get Answer, Expert's Help, Data division Discussions

Write discussion on Data division
Your posts are moderated
Related Questions
ON SIZE ERROR OPTION:   If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T

RULES OF MOVE VERB:  The Data movement is managed by the rules which are as shown below: (a) The contents of the identifier - 1 or the value of the literal - 1 is moved to

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

Figurative Constants: The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

calculate simple interest

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb