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


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and 9v99 in COBOL?

735


How many sections are there in data division in COBOL?

680


Write some characteristics of cobol as means of business language.

621


What is redefines clause in COBOL?

851


What is the difference between external and global variables in COBOL?

815






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

744


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


What are the different open modes available in cobol?

722


How do define dynamic array in cobol.

673


How arrays can be defined in COBOL?

665


What are the different rules of SORT operation?

700


how can i see junk values in dclgen or in hostvariable of comp ?

2546


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


Write a program that uses move corresponding.

673


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060