What is Redefines clause?

Answer Posted / krishna

Allowcation of more than one data items in a single memory
location.

Ex:
01 a pic x(9).
01 b redefines a pic x(7).

Rules for Redefines

1. Should be different datatype and size
2. Redefined item should not contain value clause
3. Redefing item cantain redefined item
4. Redefines can't write in 66 and 88 level numbers

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1960


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1004


Write a program to explain size error.

679


How do u write test cases?

1642


What is amode(24)?

686






Can a Search can be done on a table with or without Index?

811


Explain what you understand by passing by value.

708


What is the LINKAGE SECTION used in COBOL?

895


what is the difference between COBOL2 AND COBOL390?

2462


how do you reference the fixed unblock file formats from cobol programs

716


What is the difference between structured cobol programming and object alternativelyiented cobol?

762


What is the difference between Global and External Variables?

668


How do you reference the following file formats from cobol programs?

702


Define static linking and dynamic linking.

669


How many sections are there in data division in COBOL?

684