Why we need to use redefine clause when we can define the
variable seperately... what is actual need....
Answer Posted / ashok
yes when ever we face two type of records in the file in
that we use this redefines i will expline that best example
o1 salse-record
05 salse-re
o2 qua pic x(04).
o2 unit-pric pic x(08).
05 amount redefine salse-re pic x(12).
in this eaither we get qandity and price or amount
nobothar about it .
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How many bytes S(8) comp field occupy and its maximum value?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What rules are to be followed while using the corresponding options?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Which mode is used to operate the sequential file?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
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
How do you reference the fixed block file formats from cobol programs
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad