Redefines clause , COBOL Programming

REDEFINES CLAUSE:

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
FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim

Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

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:

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

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