Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / anju
I think redefine cannot be done for a level01 item.
| Is This Answer Correct ? | 1 Yes | 5 No |
Why occurs cannot be used in 01 level in COBOL?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are the different rules to perform a Search?
What is the linkage section?
can we use the two 01 level in file discription ?
What is cobol?
wht r the advantages of 77 level number ?
explain sorting techniques in cobol program?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...
How will you find the currepted records in a file