Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acu cobol archives
Message
From
29/10/2008 16:04:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/10/2008 08:04:19
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01357968
Message ID:
01358173
Views:
19
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform