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
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

OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With

Example of Open statement: Illustration: The OPEN INPUT TRANSACTION, OLD-MASTER OUTPUT NEW-MASTER. The illustration represents that there are two input files named the

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh

Illustration of if- else statement: IF OK-BALANCE NEXT SENTENCE ELSE MOVE 2 BALANCE-CODE In this illustration, the OK-BALANCE is a condition name. No action is specific if

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda

LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

NEGATED SIMPLE CONDITION: Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition

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