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

how do you reference the ksds vsam file formats from cobol programs

870


how to access the file from prodution from changeman tool and to submit a file to production

7077


What is the Purpose of POINTER Phrase in STRING command in COBOL?

962


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1077


example for sub strings ? and refernce modifications whit output pls

2068


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

852


Name the divisions, which are available in a cobol program?

922


Can you please let me know the centre name of INS certification in Kolkata.

1941


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2126


) How do u handle errors in BMS macro

1698


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1036


Name the sections present in data division.

898


How can you get the ksds file records into your cobol program?

842


Are you comfortable in cobol or jcl?

805


What is the local-storage section?

886