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
What are the different rules to perform a Search?
Write a program to explain size error.
what happens if parmparameter passes zero bytes to the program
How do you differentiate between cobol and cobol-ii?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Are you comfortable in cobol or jcl?
i need a small 3d program using inline and outline.
how do you reference the esds vsam file formats from cobol programs
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?
What is report-item in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How you can characterize tables in cobol?
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?
how do you define single dimensional array and multidimensional array in your cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?