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
how do you reference the printer file formats from cobol programs
How do define dynamic array in cobol.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How many bytes S(8) comp field occupy and its maximum value?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to remove 2 duplicate records and copy only one using job control language?
How many sections are there in data division in COBOL?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the difference between Call and a Link?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What rules are followed by the search verb.
What is the compute verb? How is it used?