We help IT Professionals succeed at work.

heard of a DB called "ZIM"????????

rickyr
rickyr asked
on
635 Views
Last Modified: 2012-06-21
Hi......
     We have a database called "ZIM" (some kinda Order Tracking Database) we'd like to know how to dump the information in this database to
     tab/colon delimited text files.
     We had a look around the file system (SCO) and found some datafiles (zim0001, zim0002 zim0003 etc..) a bit obscure, but then we found text for
     a procedure, It's not SQL, but might give someone a clue as to what the database engine is. There is a directory for Ingres but it is empty, and
     Ingres doesn't appear to be running.

     %
     %-comments are here
     %
     procedure cTemp()\
     local (lCode, lCount, lVersion)
     find all items where type = 'M' -> sall
     sort by stockcode
     find all where $distinct(stockcode) = stockcode -> sall
     out $setcount
     let lCount = $setcount
     while
         out $Currentmember('sall')
         let lCode = stockcode
         etc....... etc..... etc.........
     endwhile
     endprocedure

     Has anyone got any ideas on What the database is? And more importantly how to dump ALL the data to text files
     so we can migrate to another platform/Database.
     regards
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
BTW the text is probably the ZIM 4GL

Commented:
You can dump data to text and import into other products.
get to the command line and use this procedure...

set save
set headings off
set nullvalue '-*-*-'
set output fieldlistwidth off
set output maskfield off
set output virtualfield off
set output format commadelimited
set textdelimiter '\fe'
set out printer
set out terminal
set out printer
list all
set out terminal
set restore

Open in new window

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.