which one is the best of com and com-3.using of real time ?
Answer Posted / praveen
for comp3 the caluclation of memory goes
for the datasize is even we go for formula n/2.
for the datasize is odd we go for formula n+1/2.
ex; s9(5) means 5 is odd 5+1/2=6/2=3
it takes 3 bytes of memory.
for comp s9(9) it takes 4 bytes of memory.
so here depending on the datasize we can say the
best.
so in above ex; we say comp3 is best because there is a
supression of memory i.e 3bytes compared to comp 4 bytes .
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are declaratives and what are their uses in cobol?
How do define dynamic array in cobol.
What is comp-1 and comp-2?
Why occurs cannot be used in 01 level in COBOL?
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.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Can a Search can be done on a table with or without Index?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between next sentence and continue in cobol programing language?
how do you reference the rrds file formats from cobol programs
What are all the divisions of a COBOL program?