Versions des environnements
Network:
Windows 2008 Server
>I seem to remember that for every cobol table there is a related file with the description of the structure. This file has the same name, but a different extension. But I may be wrong...!
A couple of hundred years ago when I did some cobol, I seem to remember having to define the fields at the top of the program before writing anything like what we think of as program coding at all.
>
>>I was afraid it was the case :(, the problem is to decode the number fields
>>thanks
>>
>>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement