sdpcqlstart (starts a query group)

Format

sdpcqlstart {[-clear] [-reload] query-group-name|-help}

Function

This command starts a query group on inactive or shutdown status that is registered in the SDP server.

Execution permissions

Administrator user

Prerequisites for command execution

To execute this command, you need the following files:

Storage directory

working-directory\bin\

Arguments

-clear

Discards any tuples that are in the output stream queue before the command starts the query group.

If this option is omitted, the command starts the query group without discarding tuples that were stored in the output stream queue during the previous execution.

-reload

Reloads the contents of the query group property file and stream property file, applies the settings, and then starts the query group.

You use this option when you want to change the property values of the query group that were specified when the query group was registered.

For details about the query group property file and the property values that can be changed when the query group is started, see 8.7 Query group property file. For details about the stream property file and the property values that can be changed when the query group is started, see 8.8 Stream property file.

query-group-name

Specifies the name of the query group to be started.

-help

Displays how to use the command.

If this option is specified, the command terminates without starting the query group or checking the options for errors.

Notes

Return value

ValueMeaning
0The command terminated normally.
1The command resulted in an error.