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


Please Help Members By Posting Answers For Below Questions

A table has two indexes defined. Which one will be used by the SEARCH?

759


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17039


What is link edit in cobol?

772


What is the difference between binary search and sequential search?

641


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780






what are decleratives in cobol?

1827


how do you reference the variable block file formats from cobol programs

686


how do you reference the ksds vsam file formats from cobol programs

666


what is the difference between COBOL2 AND COBOL390?

2453


What are the access modes of START statement?

719


what is search and searchall?what is the diffrence between them?give an best example?

5561


What are the different open modes available in cobol?

722


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


Define cobol?

862


How do we get current date from system with century in COBOL?

806