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 are the access modes of START statement?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
) what is the difference between AID and HANDLE AID?
What are different data types in cobol?
how to move the records from file to array table. give with code example
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write the code to count the sum of n natural numbers.
Which Search verb is equivalent to PERFORM…VARYING?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are the different open modes available in cobol?
What are the rules of the move verb?
What are the different rules for performing sort operation?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between PIC 9.99 and PIC9v99?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?