To exchange data between an application and database, use the correct data type mappings for the variables used. When the precompiler finds a host variable declaration, it determines the appropriate SQL type value. With each host language there are special mapping rules which must be adhered to, unique only to that specific language.