Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a 'packed' decimal for IBM mainframe upload
Message
De
23/09/1998 19:49:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
21/09/1998 12:02:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00139013
Message ID:
00140111
Vues:
25
>Another example: a value of -32767 would be represented as:
> |32|76|7B| or |32|76|7E| again assuming that a 3-byte field was wanted. By the way I feel a little unsure about the negative signs (not what you want to hear, I'm sure) but you can be certain that "F"is the standard for a positive number.


I've seen D or B (can't really be sure, it's been a long time ago), as I've seen implemented in some RM Cobol tables (tables? OK, let's call them tables), and also in VAX Cobol. I've just checked my conversion routine generator for RM Cobol, and it's BCD2Num function treats only C and F as plus sign, and anything else as minus.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform