English German Spanish
Support|Education|Careers|Contact Us

Can existing ODEX Plus databases be kept when moving between Little Endian systems and Big Endian systems (Intel and non-Intel)?

Article ID: 1223
Date Created: 14/10/2009 10:24:08
Date Modified: 19/10/2009 10:42:39
Applies To: ODEX Plus
More Information:

The following operating systems are Big Endian: HP-UX and AIX 
The following are Little Endian: SCO Open Server, SCO Unix Ware and Linux (and Windows).

The ODEX database files (*.dt and *.nx) can be moved between operating systems which have the same byte order (eg HP-UX and AIX). Since the database files contain some integer values (for file counters, IDs etc) they cannot be moved between systems with different byte orders.

Running the following commands: 
isamfix -ad 
isamfix -am 
isamfix -ai 
isamfix -at

will create .dat files for the database files DIRMASTR, CTLIDNEX, CTLMASTR and TPRMASTR. These files are a text dump of the data contained in the databases and as such are independent of byte order.

These files can be copied to the new operating system, and the following commands run to create new database files from them: 
isamfix -bd 
isamfix -bm 
isamfix -bi 
isamfix -bt

Note that the resulting databases will be prefixed with the word "NEW", so as to avoid overwriting any existing databases, and will need to be renamed before they can be used. To move the FTP files, run "tar -cf ftpfiles.tar FTP/*" on the old machine, then ftp this resulting tar file to the new machine and run "tar -xf ftpfiles.tar". 
Note that you have to re-run the SETUP script to set file permissions after copying any files from the old system to the new system.

The dipnss00.ini and ODEXCC.PRM files will vary between operating systems, so it is better to copy settings from the old file to the new file (where applicable), rather than attempting to copy the whole files across. Note that the serial number and licence details will be different for each operating system.

Keywords:



Rate this article

12345

Current rating: 0
1 star = Poor, 5 stars = Perfect)

Feedback

Did this information solve your problem?
 
What can we do to improve this information?
 
Please provide an email address so that we can obtain
further information if necessary (optional):




User Logon
Username/Password:
CONTACT US

UK: +44 (0) 1733 371 311
ES: +34 91 268 66 29
SE: +46 (0) 322 935 25
DE: +49 (0) 40 31112 374


sales@di-international.com
Terms and Conditions | Copyright Data Interchange Plc 2012