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.