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

Describe the cobol database components?

898


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2213


What is the Purpose of POINTER Phrase in STRING command in COBOL?

965


What is the difference between comp and comp-3?

898


What is the use of intialize verb?

982


What are the different data types in cobol?

1052


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

985


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

909


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

970


what is the use of outrecord?

1972


how do you reference the variable unblock file formats from cobol programs

1010


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1240


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2141


How do you reference the fixed block file formats from cobol programs

916


What are the pertinent COBOL commands?

2832