Redefines clause , COBOL Programming


At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage region can serve the purpose of two or more regions if the region is redefined. The REDEFINES clause are used for the aim which allows the region to be referred to by more than one data name with various sizes and pictures. Let us consider the illustration below.


Posted Date: 10/17/2012 7:39:52 AM | Location : United States

Related Discussions:- Redefines clause , Assignment Help, Ask Question on Redefines clause , Get Answer, Expert's Help, Redefines clause Discussions

Write discussion on Redefines clause
Your posts are moderated
Related Questions
Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.

FD Entry for variable-length Records: The RECORDS CONTAINS and BLOCK CONTAINS clause are quite dissimilar in the case of files with variable- length records. The syntax of the

calculate simple interest

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

FILE UPDATION: The method of modifying an old file with present information is termed as file updating. Master file: A master file is a file which is used as an author

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

FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.