what is redefines? where it can be effectively use for the
purpose of memory utilization? give an example?
Answer Posted / siri
REDEFINES:-REUSE THE SPACE FROM FIRST BYTE ON WORDS....REDEFINES AND REDEFINING FIELDS MUST BE AT SAME LEVEL NOS..REDEFINING THE MEMORY MUST BE SAME OR SORTER...
FOR EXAMPLE 1000 BALLS IS THERE..EACH BALL CAST IS 10 RS/-...BUT I HAVE ONLY 10 RS/-...BUT I USE THE ALL 1000 BALLS HOW MEANS USING THE REDEFINES....
WORKING-STORAGE SECTION.
01 A PIC X(100) VALUES '******************************'
01 B REDEFINES A X(10)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the different types of condition in cobol and write their forms.
how do you reference the variable block file formats from cobol programs
How do you differentiate between cobol and cobol-ii?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is the use of outrecord?
What is the difference between next sentence and continue in cobol programing language?
What is the utilization of copybook in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Write a program to explain size error.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Write some characteristics of cobol as means of business language.
What are literals?