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
Illustration of Renames clause: In the illustration, PAT-OTHER-THAN-BASIC will become a fresh group consisting of DEARNESS-ALLOWANCE, HOUSE-RENT & MTHLY-INCENTIVE. Keep in min

, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu

BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

calculate simple interest

PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

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.

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture