Code Comments
Programming Forum and web based access to our favorite programming groups.Hi I don't program in COBOL, but I need to read (and possibly convert in some text format, e.g., tab separated) a COBOL archive/database, of which I ignore the structure. Is it possible to do this somehow? many thanks in advance Lorenzo -- +-----------------------------------------------------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | Home Page : http://www.lorenzobettini.it | | http://tronprog.blogspot.com BLOG | | http://www.purplesucker.com Deep Purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | | http://www.lorenzobettini.it/software/doublecpp | +-----------------------------------------------------+
Post Follow-up to this messageLorenzo Bettini wrote: > Hi > > I don't program in COBOL, but I need to read (and possibly convert in > some text format, e.g., tab separated) a COBOL archive/database, of > which I ignore the structure. > > Is it possible to do this somehow? > Sure, but there is no such thing as a "COBOL database." COBOL can write files in any format. There are some file structures that are compiler dependent, used for internal processes. If you have one of these internal formats (usually ISAM and its relatives), you are better off by having a COBOL programmer write you a back-pocket program to copy the file to a form you can understand. This new program will take less than an hour to code and test (more like ten minutes).
Post Follow-up to this messageOn Wed, 11 Oct 2006 10:35:01 -0500, "Heybub" <HeybubNOSPAM@gmail.com> wrote: >Lorenzo Bettini wrote: > >Sure, but there is no such thing as a "COBOL database." COBOL can write >files in any format. There are some file structures that are compiler >dependent, used for internal processes. > >If you have one of these internal formats (usually ISAM and its relatives), >you are better off by having a COBOL programmer write you a back-pocket >program to copy the file to a form you can understand. This new program wil l >take less than an hour to code and test (more like ten minutes). > This assuming that the FD's of the files are available, and also that the record layout (if not the same as the FD's) is also available. Frederico Fonseca ema il: frederico_fonseca at syssoft-int.com
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.