Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Accessing files with .ISM.DAT and .IDX.DAT extension in UNIX/C environment

Posted on 2006-06-20
13
Medium Priority
?
325 Views
Last Modified: 2013-12-26
I have an old Unixware 2.1.2 server with a bunch of data files with file extension of  .IMS.dat and .IDX.dat.  I need to retrieve the data from these files, but have no idea what they are or how to access them.   I have search,literally, for hours on the internet to get information on what these are and how to access them.   ANY clue would be VERY appreciated.   I would be using C (not C++), as that is the only compiler available on the machine.
0
Comment
Question by:KristenPage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
13 Comments
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 16947638
My guess is that they could be working files from a database. IDX could be the index structure for a table. Have you simply tried viewing them using
more xxxx.IDX.dat
Even if there is just binary data, you may at least glean some info. vim can also display binary data.
0
 
LVL 15

Expert Comment

by:bpmurray
ID: 16950135
My guess is that the IDX file is an index to the IMS file. I remember an icon editor on windows used IMS, but I can't remember its name; in any case it's unlikely to be that. Where are the files located, i.e. in which directories? That may give a hint as to what they are.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 16952063
do you know what you're looking for in the files? If so I'd follow teraplane's suggestion.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:KristenPage
ID: 17010693
I am sorry, I did not do a very good job describing my problem.   I know what the files are, in the sense that they are the data files to an application by Advanced Digital Data Systems (ADDSYS).  This is an ancient system that my client wants to convert from.  However, ADDS will not share the file layouts or record formats and are pretty hostile.  So I am trying to get to the data without the file layouts.  I have more'd the files and where there is text, I can see it and I know which files I want.  I think that clearly bpmurray is correct and that the IDX files are indexes to the ISM files, as they come in pairs, but what I was hoping for is that someone would know of a product that could read these (such as the old VMS product Datatrieve), or would know of a utility that would allow me to deconstruct them, or even tell me whether they are in EBCDIC or some other encoding, as they do not appear to be ascii, or even miraculously, does someone have these particular file formats?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 17010813
you can convert the files from EBCDIC to ASCII using dd:

dd conv=ascii if=/path/to/file of=/path/to/converted.txt

see man dd for more details
0
 
LVL 15

Expert Comment

by:bpmurray
ID: 17011900
Do you know the name of the application? On what machine did it run?
0
 

Author Comment

by:KristenPage
ID: 17014395
It ssems like the application is called ADDSYS and it is running on a DEC server running UNIXWARE 2.1.2
0
 

Author Comment

by:KristenPage
ID: 17014406
BTW - I tried the dd and the resulting file was not readable.  I am not sure that files are EBCDIC.  I am afraid that this is hopeless without the file formats.  It is so frustrating that the data is there and I can't decipher it.
0
 
LVL 15

Expert Comment

by:bpmurray
ID: 17014439
If it's running on DEC it's not EBCDIC. Looking ad addsys.com site, it looks like the following are their apps:

    PAMS, Power*Store2® and Power*Scan, Energy, Raven, Pegasus, Super Jobber,  Sunrise, Oil Manager

    Supported by STS: Minifuel, Wholesale, Linc, C-Store, STS Financials, Show Me

but nothing called "addsys".
0
 

Author Comment

by:KristenPage
ID: 17635141
Though I appreciate the comments in response to my question, none of them really helped.  I ended up running a bunch of reports from the ADDSYS system and then parsing through the report files, which were strictly text files.  Ugly, but effective.    In response to bpmurray, the reason he does not find ADDSYS on the Addsys website is that it is ancient and no longer offered for sale.  
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17678054
PAQed with points refunded (500)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question