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
how do you reference the variable block file formats from cobol programs
what is the use of outrecord?
Difference between array and sub-script ?
Can we change the password using ALTER? anyone tried and changed?
Why occurs cannot be used in 01 level in COBOL?
What is redefines clause in COBOL?
How you can characterize tables in cobol?
what is difference between cobol and cobol/400
Give some examples of command terminators?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Have you used comp and comp-3 in your project? And how?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between perform … with test after and perform … with test before?
What are different data types in cobol?