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


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

719


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...)

1931


) what is the difference between AID and HANDLE AID?

1635


What are different data types in cobol?

689


how to move the records from file to array table. give with code example

2219






How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


Write the code to count the sum of n natural numbers.

699


Which Search verb is equivalent to PERFORM…VARYING?

685


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.

5063


What are the different open modes available in cobol?

720


What are the rules of the move verb?

706


What are the different rules for performing sort operation?

761


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1771


What is the difference between PIC 9.99 and PIC9v99?

781


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

718