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
/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

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

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

Format for COBOL Programs: The COBOL is a high-level language. Therefore, a COBOL program can be executed on a computer for which a COBOL compiler exists. The compiler transla

WRITE STATEMENT: The WRITE Statement verb releases a record in an output file. The syntax for the WRITE statement can be unlike depending on the output device and the medium us

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

PROGRAM TO FIND INTEREST ON BANK DEPOSITS: We have to write a program to find interest on deposits. The criteria is given below : identification division. program-

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