Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acu cobol archives
Message
De
29/10/2008 07:35:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/10/2008 07:21: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:
01357973
Vues:
38
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform