s9(18) comp-3:: What is the size of memory it takes
internally?

Answers were Sorted based on User's Feedback



s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Answer would be 18+1/2=9.5 rounded to 10 bytes.

Is This Answer Correct ?    20 Yes 2 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vijay

IT TAKES ONLY 10 BYTES

(18/2)+0.5+0.5=10 BYTES

Is This Answer Correct ?    5 Yes 0 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Well since comp-3 items are packed decimal items,2 digits
will be stored in each byte and the last nibble(4 bits) will
contain the sign.

Is This Answer Correct ?    4 Yes 1 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vinodquestion

Thanks shaan, And what is for sigh decimal numbers
representation for same comp 3? i.e internal representation
of signed decimal number

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


What is the difference between PIC 9.99 and PIC9v99?

0 Answers  


What is the difference between SEARCH and SEARCH ALL? What is more efficient?

9 Answers   IBM, iFlex, Wipro,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,






i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


What is R-mode and A-mode?

3 Answers   TCS,


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


What are the access modes of START statement?

0 Answers  


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


how can we fetch 3 records in cobol pgm any coding pls ?

3 Answers   CGI,


What is SDSF?

13 Answers   IBM,


Categories