home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / informix / 2839 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  2.2 KB

  1. Path: sparky!uunet!pipex!demon!cix.compulink.co.uk!shemminga
  2. Newsgroups: comp.databases.informix
  3. From: shemminga@cix.compulink.co.uk (Stuart Hemming)
  4. Subject: Re: C-ISAM to Informix rdb con
  5. Reply-To: shemminga@cix.compulink.co.uk
  6. Date: Wed, 30 Dec 1992 07:58:00 +0000
  7. Message-ID: <memo.833271@cix.compulink.co.uk>
  8. Sender: usenet@demon.co.uk
  9. Lines: 44
  10.  
  11. In-Reply-To: <1hqc37INNaj@emory.mathcs.emory.edu> markf@sequoia.sequoia.com (Mark R. Friedman)
  12.  
  13. TITLE: C-ISAM to Informix rdb conversion utilities
  14.  
  15. In <1hqc37INNaj@emory.mathcs.emory.edu> Mark R. Friedman asks:
  16.  
  17. > What utilities/tools exist to ease moving data from (Informix) C-ISAM files
  18. > over to a series of Informix databases? We've recently acquired a suite of 
  19. > 'replacement' applications and would like to move the existing data over to 
  20. > the new apps, but our software vendor claims the only way to do so is by 
  21. > writing a suite of C programs (for which he'll charge us a mere arm and leg).
  22. > Is there a better way? We have access to what I believe to be the full range
  23. > of Informix products, and I _want_ to assume that there's a cleaner and
  24. > easier approach. Many thanks for any ideas or pointers...
  25.  
  26. If they are REALLY C-ISAM files then, unless I've missed my guess,
  27. all you need to know is the type of each data field in each data
  28. file. You also need to know the keys for each index.
  29.  
  30. Now, in informix, create data tables of exactly the same type.
  31. Now once you've created the tables you login as user informix (or any
  32. other user with DBA privilage). Now create a default form for the
  33. table SYSTABLES. Now for each table you've created in SQL, change the
  34. dirpath field to point to your original data tables.
  35.  
  36. So, you now have you're old data in you shiny new database.
  37.  
  38. At this point I would suggest that you UNLOAD the bits of the data
  39. you need and LOAD it into you new apps.
  40.  
  41. I hope this helps.
  42.  
  43.  
  44.  
  45. | I'm not bad, I'm just drawn that way -- Jessica Rabbit     |
  46. |------------------------------------------------------------|     
  47. | Stuart Hemming       | shemminga@cix.compulink.co.uk       |
  48. | Tudor Labels Ltd     | uunet!cix.compulink.co.uk!shemminga |
  49. | Roman Bank Bourne    | Tel :  (+44) 778 426444             |
  50. | Lincs PE10 9LQ. UK.  | Fax :  (+44) 778 421862             |
  51.  
  52.  
  53. Stuart
  54. |8-)
  55.