sdpcql (registers a query group)
Format
sdpcql {[-autostart]query-group-property-file-name|-help}
Function
This command registers a specified query group into the SDP server.
The command performs syntax analysis of all queries in the query definition file specified in the query group property file. If the command detects an error in the file, it outputs a syntax error message to the log file and console, then resumes syntax analysis of the queries in the file.
Note that the registered query group is not retained after the SDP server is shut down.
Execution permissions
Administrator user
Prerequisites for command execution
To execute this command, you need the following files:
Storage directory
working-directory\bin\
Arguments
-autostart
After a query group is registered, this option starts executing the query group and accepting input tuples.
If this option is omitted, the command places the query group in inactive status after it is registered.
query-group-property-file-name
Specifies the name of the query group property file for the query group that is to be registered.
For details about the query group property file, see 8.7 Query group property file.
-help
Displays how to use the command.
If this option is specified, the command terminates without registering the query group or checking the options for errors.
Notes
Return value
Value | Meaning |
---|---|
0 | The command terminated normally. |
1 | The command resulted in an error. |