Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COBOL Field Codes
Message
From
22/02/2001 20:06:21
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00477996
Message ID:
00478659
Views:
25
>On IBM mainframes, COMP-3 is packed decimal format, which means each digit occupies one nibble (half-byte), with a slack nibble added to make the overall field size end on a byte boundary.

Plus the sign nibble, so a five-digit number actually occupies 6 nibbles=3 bytes, but a 6-digit occupies 7 nibbles+one slack=4 bytes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform