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
Which Search verb is equivalent to PERFORM…VARYING?
What is link edit in cobol?
how do you reference the variable block file formats from cobol programs
What is the Purpose of Pointer in the string?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is report-item in COBOL?
What are declaratives and what are their uses in cobol?
How do you differentiate between cobol and cobol-ii?
Differentiate between structured cobol programming and object-oriented cobol programming.
Difference between cobol and cobol-ii?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
what is the use of outrecord?
What is the difference between comp and comp-3?
how do you reference the printer file formats from cobol programs