DB2 Everyplace includes a remote query and stored procedure adapter. This adapter enables DB2 Everyplace application to use the Sync Server architecture to call a stored procedure located at a remote data source. The results of the stored procedure are returned directly to the application on the device. The stored procedure call allows a DB2 Everyplace application to directly access data in a remote server without synchronizing. This chapter shows how to configure an Agent Adapter subscription and stored procedure and use the remote query and stored procedure adapter in an application.