Every application program that accesses SESAM/SQL databases has to be linked with a connection module. The connection module sets up communication between the SESAM/SQL Data Base Handler (DBH) and takes care of the transfer of data between the application program and the DBH.
In TIAM and DCAM applications, the application program passes its statements directly to the connection module in a subroutine call. The connection module converts these statements and passes them on to the DBH. The DBH executes the statements and transfers the results of database operations to the connection module, which in turn passes them back to the application program.
Each connection module can be used by XS-capable and non-XS-capable applications. It is even possible to switch addressing modes between two connection module calls within a program.
Part of an application program can run in XS mode while another runs in non-XS mode. Both parts can issue database calls.
In linked-in applications you must not mix SQL and CALL DML statements.