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

What is redefines clause in COBOL?

853


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2664


Name the sections present in data division.

705


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

652


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

689






How do you reference the fixed block file formats from cobol programs

713


What type of SDLC u followed? Why?

1534


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

712


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

1644


Which division and paragraphs are mandatory for a COBOL program?

715


how to move the records from file to array table. give with code example

2229


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

712


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

1320


In COBOL programming, what is PERFORM? What is VARYING?

676


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2110