After considering using Uniface to do a direct copy, they selected the March Hare UD8/CSV driver because:
It would be considerably faster to load using SQL*Loader
SQL*Loader provides more functionality for 'massaging' the data on the way through.
CSV files were more readily understood by the development team than TRX files.
Once installed on their NCR 3000 series server running System V UNIX, it made short work of the 500,000 records.
The assignment file setting was, e.g.:
USYS$UD8_PARAMS=alert, separator \xb6
This combination used a separator that was unlikely to appear in the data, and an alert message to warn if the separator HAD been found in the data.
An example SQL*Loader control file
INTO TABLE TMP_MASTER
FIELDS TERMINATED BY "¶"
MS_ITERATION CONSTANT 0,
MS_CONVERSION_STATUS CONSTANT " ",
MS_RADDR3 "TO_DATE(:MS_RADDR3,'YYYYMMDD')" ,
MS_RDATE "TO_DATE(:MS_RDATE,'YYYYMMDD')" ,
MS_DELCLOSE "TO_DATE(:MS_DELCLOSE,'YYYYMMDD')" ,
- UD8/CSV driver is available for all Uniface supported platforms
|$Revision: 1.7 $ $Date: 2011/02/28 02:56:32 $||[go to top]|