Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acu cobol archives
Message
De
29/10/2008 16:04:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/10/2008 08:04:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357968
Message ID:
01358173
Vues:
18
>I was afraid it was the case :(, the problem is to decode the number fields
>thanks

Well, I don't KNOW if this is the case, I am no expert in COBOL. But I seem to remember, from what little I have seen in COBOL, that it is in the program where the fields and records are defined.

As for the numbers... first you'll have to figure out what method was used to save the numbers. Two's complement is quite common for integers, but it may that the first bit just indicates the sign.

BCD (binary-coded decimal, two digits per byte) is another option. This keeps numerical accuracy when adding and subtracting decimal numbers.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform