s9(18) comp-3:: What is the size of memory it takes
Answers were Sorted based on User's Feedback
Answer / shaan
Answer would be 18+1/2=9.5 rounded to 10 bytes.
|Is This Answer Correct ?||20 Yes||2 No|
Answer / vijay
IT TAKES ONLY 10 BYTES
|Is This Answer Correct ?||5 Yes||0 No|
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|
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|
How to recover a deleted source physical file from library?
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is SET TO TRUE all about, anyway?
How to convert bunch of words in a line to relvant ASCII values?
what is a zoned decimal data type and how it will be stored?
What do you do to resolve SOC-7 error?
Write a program to enter and display the names of students in a class using the occurs clause.
using redefine can you redefine lower variable size to higher variable size?
How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one
What is report-item in COBOL?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
what happens if parmparameter passes zero bytes to the program