Cobol Question: Download Cobol PDF

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

Tweet Share WhatsApp

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 PDF Read All 110 Cobol Questions
Previous QuestionNext Question
How is sign stored in a comp-3 field?What do you do to resolve SOC-7 error?