s9(18) comp-3:: What is the size of memory it takes
internally?
Answers were Sorted based on User's Feedback
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 |
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
What are different data types in cobol?
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
What is the figurative constant in cobol?
88 class is used for
how many bytes do SPPPP999 will store?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
Describe the difference between subscripting and indexing ?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How do you define a sort file in JCL that runs the COBOL program?
How arrays can be defined in COBOL?