How is sign stored in Packed Decimal fields and Zoned
Decimal fields?
Answer Posted / pradeep
For a Packed decimal:
(a) positive value is stored as,
0653
000F
Here, the value 'F' specifies its a +ve value. Also, 'C' is
also used to store +ve values.
(b) negative value is stored with 'D' instead of 'F'
Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
A table has two indexes defined. Which one will be used by the SEARCH?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is link edit in cobol?
What is the difference between binary search and sequential search?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
what are decleratives in cobol?
how do you reference the variable block file formats from cobol programs
how do you reference the ksds vsam file formats from cobol programs
what is the difference between COBOL2 AND COBOL390?
What are the access modes of START statement?
what is search and searchall?what is the diffrence between them?give an best example?
What are the different open modes available in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Define cobol?
How do we get current date from system with century in COBOL?