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 define single dimensional array and multidimensional array in your cobol?
how do you reference the variable unblock file formats from cobol programs
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is link edit in cobol?
How many sections are there in data division in COBOL?
what is the difference between COBOL2 AND COBOL390?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Differentiate between structured cobol programming and object-oriented cobol programming.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Have you used comp and comp-3 in your project? And how?
Explain the configuration section of a cobol program with examples of syntax.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Difference between array and sub-script ?