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

How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


what is a load module ?

3 Answers   TCS,


What is the linkage section?

4 Answers  


hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?

1 Answers   CGI,


how to convert the recors form vsam file to db2 table tru file aid

0 Answers   TCS,






What is a scope terminator give example?

0 Answers  


How we copy a program from production region to development region.What is the process & syntax ?

3 Answers   CTS,


How many maximum number of procedures can we write in one COBOL program?

5 Answers  


How to read a 100 record from a file through cobol?

2 Answers  


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


How you can read the file from bottom?

0 Answers  


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


Categories