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
REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

RULES FOR SEARCH VERB: The rules apply for the SEARCH verb is as shown below: (1) The SEARCH verb can be applied only to a table that has the OCCURS clause and INDEXED phra

GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

calculate simple interest

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.

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

File volatility: File volatility associates to the number of times the updating of records are needed during some time period. File interrogation: Some files hold re