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 |
How can you add a particular field/coloumn in copybook?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
Suppose i want to declare a binary comp fild of 7 byte .how to write?
i want to enter the name 'pandu' into ur table how?
Can you please let me know the centre name of INS certification in Kolkata.
Why would you use find and get rather than to obtain?
How many sections are there in data division in COBOL?
SIGN TRAILING SEPARATE field occupy ?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what is filler and what is use of filler