About Query Modules

CCL queries are stored in query modules. A query module is a reusable group of one or more queries, all of which are compiled and executed together.

To write or edit queries in a query module, you must first either create a new .ccl file, or open an existing file.

Note:

None of the queries in a query module run until the module is started. For instructions on starting and stopping query modules, see the Sybase CEP Studio Guide. Once the module is started, however, the queries in it run simultaneously and continuously, until the module is stopped, or the Sybase CEP Engine is shut down.

Query modules are also used to keep track of data streams. Every data stream that supplies or receives data from a query must be attached to the query module where that query resides. Data streams can be attached to query modules using the Sybase CEP Studio interface.

For instructions on how to add a data stream to a query module, please see the Sybase CEP Studio Guide.


Created March 8, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com