After installing the QAS Batch as outlined in QuickAddress Batch, you must configure some parameters in the QAS files so that they match with the component output schema.
Open the ~/.profile file in your home folder and add the following lines, modify them according to your extract location:
# for QAS Batch JNI
export PATH=$PATH:/path/to/qasbatch/apps #the folder which contains qaworld.ini
Configure the QAS Application as the following:
Add a new line at the end of ./apps/qalicn.ini and put a valid license.
Put valid files which contain country address data into the right folder, and configure qawserve.ini to add country support.
There must be three elements for each country line: a short name, a full country name, and data path which can be relative or absolute.
For both Linux and Windows:
In the qaworld.ini file, configure the related country section for output schema.
The example below shows the configuration for UK addresses. The
AddressLine5indicate address validation results, which correspond to the first five output columns of the tQASBatchAddressRow component.