what is redefines? where it can be effectively use for the
purpose of memory utilization? give an example?
Answer Posted / suman
Redifine is a clause which reuses the existing storage space
1)redifine must be coded immediate after orginal dataname.
2)level no must be same as orginal data name.
3)level no should be 01-49.
4)data tpye length must be same.
ex:
01 a pic 9(6).
01 b redifine a pic 9(6).
01 c redifine b pic 9(6).
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What are the cobol coding sheets?
What are the different rules for performing sort operation?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how to refer the data field?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Why occurs cannot be used in 01 level in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What are 77 levels used for?
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?
how to access the file from prodution from changeman tool and to submit a file to production
Can we redefine the field of x(200) to less than 200?
How to print 10 to 1 if the input have only 10 digit number?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad