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
Describe the cobol database components?
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.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between comp and comp-3?
What is the use of intialize verb?
What are the different data types in cobol?
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
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
what is the use of outrecord?
how do you reference the variable unblock file formats from cobol programs
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do you reference the fixed block file formats from cobol programs
What are the pertinent COBOL commands?