Applications that manipulate data on the database communicate with it indirectly by means of CLIv2. The application calls CLIv2, which acts as a subroutine of the application, sharing the same environment. CLIv2 executes as part of the same job, terminal session, virtual machine, or transaction.
The following figure illustrates the logical structure of the client-server interface.