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 you reference the ksds vsam file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What rules are to be followed while using the corresponding options?
Differentiate between structured cobol programming and object-oriented cobol programming.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Why occurs cannot be used in 01 level in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
explain sorting techniques in cobol program?
How many bytes S(8) comp field occupy and its maximum value?
Difference between array and sub-script ?
What rules are followed by the search verb.
What is the difference between comp and comp-3 usage?
Define static linking and dynamic linking.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Are you comfortable in cobol or jcl?