FAQ's - APPX Software, Inc. : Trash :
627 - Moving APPX Files Between Platforms | |
The above title is not accurate, but it does represent a typical migration that these instructions are designed to describe.
An accurate title would be "Moving APPX files between platforms of differing 'Endians'", but if you don't know what an Endian is, that's not very useful. Most Intel and RISC platforms use different 'Endian's, or byte ordering. The first Endian type (typically Intel chip based) includes Windows NT and 9x, Linux, NCR/AT&T, and SCO Unix platforms. The 2nd Endian type includes most other Unix platforms. So it is necessary to perform special processing to move APPX files transported between the two Endian types of platforms. -------------------------------------------------------------------------------- To move your application from your AIX to your APPX for Windows standalone, follow these steps: 1. In 3)System Admin, 3)Database/Applications, 5)Design File Management for your Application, perform 8)Export. 2. Navigate to the $APPXPATH/vv/AAA/Portdata directory that this created. (Where vv = Version# (such as '00'), AAA = Application ID.) Note that the files you just created all have a ".dat" suffix. We call this 'brf' format. 3. Convert your brf formatted exported data from Portdata format into ASCII format by logging on as appx ("su appx"), then performing the following. (You can put this into a script, or else just 'paste' this from here into your terminal emulator.):
appx -e=CHILD 4. Move your ASCII-formatted export files (the ones *without* the '.dat' suffixes) from your AIX to your PC. Be sure and use a binary, and not an ASCII type transfer!! 5. On your PC in 3)SysAdmin, 3)Database/Applications, 1)Applications, create your Application (if it doesn't already exist). 6. In 3)Database/Applications, 5)Design File Mgmt for your Application, run 3)Create Files (if they don't already exist). 7. If it doesn't already exist, create on your PC a directory $APPXPATH/vv/AAA/Portdata. Move your ASCII-formatted export files (without the *.dat suffix) into this directory. 8. If your $APPXPATH/vv/AAA/Portdata contains any *.dat files, delete, move, or rename them. 9. Convert the ASCII-formatted export files into brf format, by pasting the following commands into a Windows DOS box:
appx -i=CHILD
10. In Design File Management, perform 7)Import. 11. Process your Data Dictionary, create your Enduser Datafiles, and go!
To bring datafiles over from your AIX box to your PC, perform the same process as above under Database Management, using directory $APPXPATH/ddd/AAA/Portdata instead of $APPXPATH/vv/AAA/Portdata (where 'ddd' is your Database ID). Make sure you're su 'd to the 'appx' UserID. In place of step 3) above, perform a script that looks like the following:
#
for file in *
echo $file>fnamelow
done | |
. ________________________________________________ Appx on both platforms must be of the same Appx release level. (4.0 to 4.0, 4.1 to 4.1, etc.) . | |
[Append to This Answer] | |
2010-May-20 12:29am |
Previous: | 624 - File Analysis and Recovery |
Next: | 657 - How APPX Spawns Background Processes |
|