which is better comp or comp-3 in terms of memory
utilization?
Answer Posted / santy
COMP is better that COMP-3 in terms of memory utilization.
check out below examples.
COMP COMP-3
(in bytes) (in bytes)
S9(04) 2 3
S9(08) 4 5
S9(09) 4 5
S9(10) 8 6
S9(11) 8 6
S9(12) 8 7
S9(13) 8 7
S9(14) 8 8
hope it is useful.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is perform what is varying?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What kind of error is trapped by on size error option?
Write a program to explain size error.
Have you used comp and comp-3 in your project? And how?
Explain how to differentiate call by context by comparing it to other calls?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is static and dynamic call in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are 77 levels used for?
Discuss about changing dataset name in proc.
Which division and paragraphs are mandatory for a COBOL program?
What is rmode(24)
Define cobol?