Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accesing Cobol files
Message
De
01/10/2003 10:09:02
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, États-Unis
 
 
À
01/10/2003 07:46:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00833769
Message ID:
00833841
Vues:
39
You didn't say what kind of COBOL files you are trying to access. For the most part they are just sequential files so you can use low level file i/o or you can define a VFP table in the correct format (you have to account for the filler areas), and just append from the file. I am not aware of any form of COBOL file that this would not work for.

If your file has Packed (COMP-3) or Binary (COMP) fields you would have to translate them into a PC format and then take care of business. There are several old threads dealing with Packed and Binary conversions in the archives here.

HTH.
Steven Herbin
SNH Computing Corporation
Swan Lake, NY
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform