Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name?

Answer Posted / selvam a

REDEFINE clause allows the said area to be referred by more
than one data name with different sizes and pictures.
Usage:
level-number data-name1 REDEFINES data-name2
Answer to the question 2:
The REDEFINES clause must immediately follow data-name1
Other Rules:
1. The level number of data-name1 and 2 must be identical.
2. date-name1 and 2 must be of same size.
3. Multiple redefinitions are allowed.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to move the records from file to array table. give with code example

2220


what is the difference between COBOL2 AND COBOL390?

2453


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1907


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


how do you reference the ksds vsam file formats from cobol programs

666






Write down the divisions of cobol program?

671


How to print 10 to 1 if the input have only 10 digit number?

811


What is the difference between Call and a Link?

700


What is static and dynamic call in cobol?

597


What rules are followed by the search verb.

638


State the various causes of s0c1, s0c5 and s0c7.

665


What are the different types of condition in cobol and write their forms.

658


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17040


What are the different rules for performing sort operation?

763


Discuss about changing dataset name in proc.

762