Click for Index

Section 11
TRANCODES-QUAD TO HOST Conversion Table

This table is used when exporting transaction data to external systems. In many cases the tran_code used by RASWIN does not match the tran_code required by the host system. For example, RASWIN may use 1000 as the tran_code, but the corresponding tran_code needed by the host system UTIL.

During the export process, RASWIN will convert the QUAD_CODE value to the HOST_CODE value using this table.
  1. QUAD_CODE

    This is the tran_code used in RASWIN database.
  2. HOST_CODE

    This is the tran_code that is to be sent in the export file or online interface..
In the example below there are several codes setup for conversion from the QUAD_CODE to the HOST_CODE. For example, during the interface process the RASWIN will look up the QUAD_CODE 1000 and use the corresponding HOST_CODE UTIL in the output record.
Note that two QUAD_CODE values in this example ( 1000, and 1001) both point to the single HOST_CODE UTIL. If the host interface uses the same value as the RASWIN you should still set up entries in the table with the same values in both columns, as shown for the 2000 example above. In the event that no QUAD_CODE is found in the table the program will just send the value found on the transaction record, however having a value defined ensures that you will send the value you intended to send. The QUAD_CODE column values must be UNIQUE, but the HOST_CODE column can contain duplicate entries, as shown in the example above.