Cobol Question:
Download Questions PDF

How is sign stored in Packed Decimal fields and Zoned Decimal fields?

Answer:

Packed Decimal fields: Sign is stored as a hex value in the last nibble (4 bits) of the storage. Zoned Decimal fields: As a default, sign is over punched with the numeric value stored in the last bite.

Download Cobol Interview Questions And Answers PDF

Previous QuestionNext Question
How is sign stored in a comp-3 field?What do you do to resolve SOC-7 error?