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


Please Help Members By Posting Answers For Below Questions

how do you reference the ksds vsam file formats from cobol programs

649


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

697


What rules are to be followed while using the corresponding options?

627


Differentiate between structured cobol programming and object-oriented cobol programming.

661


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?

6796






Why occurs cannot be used in 01 level in COBOL?

707


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

699


explain sorting techniques in cobol program?

684


How many bytes S(8) comp field occupy and its maximum value?

1624


Difference between array and sub-script ?

1156


What rules are followed by the search verb.

629


What is the difference between comp and comp-3 usage?

669


Define static linking and dynamic linking.

658


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


Are you comfortable in cobol or jcl?

633