Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accesing Cobol files
Message
From
01/10/2003 10:09:02
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, United States
 
 
To
01/10/2003 07:46:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00833769
Message ID:
00833841
Views:
38
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
Previous
Reply
Map
View

Click here to load this message in the networking platform