Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking COBOL data file
Message
From
21/07/2000 04:16:55
Dino Liberale
Ministero Lavori Pubblici
Trieste, Italy
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Hacking COBOL data file
Miscellaneous
Thread ID:
00395249
Message ID:
00395249
Views:
50
I have to extract data from a Microfocus COBOL data file, using the low level FREAD, FGETS etc..
Now I have 2 problems to solve:
1) I can access to the data, but the fields defined as PIC 9() COMP or COMP-1,-3, etc. I don't know how to translate the correct numeric value and sign.
2) The most difficult situation is that I don't know the record structure. As known, this information is in the FD that is compiled into the program that treats the data file so it is not visible.
Could someone help me ?

T.I.A.
Dino.
Next
Reply
Map
View

Click here to load this message in the networking platform