Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acu cobol archives
Message
From
29/10/2008 07:35:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/10/2008 07:21: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:
01357973
Views:
39
>Hi all , a customer asked me if it was possible to import acu cobol archives into vfp. Of course it is but ...
>how ? anybody knows where to find the odbc drivers ?
>
>thank you

Don't those COBOL archives have a fixed-size structure, and no kind of header to tell where each field starts? If this is the case, I doubt it would be possible with an ODBC driver, which wouldn't know how to extract the data. I THINK you would have to get information about the file structure (how many bytes for every field? what is the field type? any special encoding?), and read the file with LLFF or FileToStr() and then parse it.
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
Next
Reply
Map
View

Click here to load this message in the networking platform