which is better comp or comp-3 in terms of memory
utilization?
Answer Posted / saravanan s
See Meenakshi,It is depends on the Requirement,
So the Conclusion is
Take a look on the table
COMP COMP-3
(in bytes) (in bytes)
S9(01) 2 1
S9(02) 2 2
S9(03) 2 2
S9(04) 2 3
S9(05) 4 3
S9(06) 4 4
S9(07) 4 4
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
like that.........
Cheers,
Saravanan
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is redefines clause in COBOL?
What is the difference between comp and comp-3 usage?
Write down the divisions of cobol program?
Which Search verb is equivalent to PERFORM…VARYING?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between Call and a Link?
What is the difference between binary search and sequential search?
Which is not true about evaluate statement
What are the different rules to perform a Search?
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 rules are followed by the search verb.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is a scope terminator give example?
Define cobol?