🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.cobol
Article #140

DAT and IDX files

#140
From: Joanna �wik�a
Date: Wed, 21 Aug 2002 07:46
21 lines
2082 bytes
Hello,

I am not a COBOL programmer, and I don't know much about this language :-)
but there is a big problem with it. I'm working on a program in C, which has
to process data contained in COBOL indexed files. I have .DAT and .IDX file,
and file specification, i.e.
5 FIELD1
10 FIELD11    9(2)
10 FIELD12    9(2)
etc.
Now my question: how to translate DAT files into text files? Is this a valid
DAT specification? Are there any non-commercials translators? If I want to
write a parser myself, what should I do?
Please, help me, I really don't know how to start. I looked for information
with Google, but I found nothing that could help me understand the way this
files are created and the format, in which they are written.

Thanks for your help,

Joan
asior@visionsoft.com.pl
Technical Details
Message-ID: <ajvgid$gu3$2@news.tpi.pl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!news.iesy.de!troll.iesy.de!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d15b,333b89d2ebd0bce3,start
X-Google-Attributes: gid10d15b,public
X-Google-Thread: 10585b,333b89d2ebd0bce3,start
X-Google-Attributes: gid10585b,public
X-Google-Thread: 10ff81,333b89d2ebd0bce3,start
X-Google-Attributes: gid10ff81,public
X-Google-ArrivalTime: 2002-08-21 00:47:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!news.iesy.de!troll.iesy.de!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "Joanna �wik�a" <asior@biezanow.net>
Newsgroups: comp.lang.cobol,fj.comp.lang.cobol,ibm.ibmvm.cobol.cforum
Subject: DAT and IDX files
Date: Wed, 21 Aug 2002 09:46:57 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 26
Message-ID: <ajvgid$gu3$2@news.tpi.pl>
NNTP-Posting-Host: 212.160.153.155
X-Trace: news.tpi.pl 1029916046 17347 212.160.153.155 (21 Aug 2002 07:47:26 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 21 Aug 2002 07:47:26 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000