Why we need to use redefine clause when we can define the
variable seperately... what is actual need....
Answer Posted / kannan
The main use of redefines to reduce the memory allocation
for the temporary variables that is declared in WS section.
if two variables are declared in a program and if there is a
situation that the program wil use only one among that two
variables during execution depending on a condition then
redefines can be used. so that both the variable use the
same memory space and it reduces the unnecessary memory
allocation
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
) how do u code after getting data?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Which division and paragraphs are mandatory for a COBOL program?
What is comp-1 and comp-2?
What are the different rules of SORT operation?
What is an in line perform? When would you use it? Anything else you wish to say about it.
what are decleratives in cobol?
What type of SDLC u followed? Why?
State the various causes of s0c1, s0c5 and s0c7.
What are the pertinent COBOL
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What are the different data types in cobol?