Skip to main content

CREATE TARGET

CREATE TARGET <name>
USING <writer name> ( <properties> )
[ FORMAT USING <formatter name> ( <properties> ) ]
INPUT FROM <stream name>;

Whether the properties and the FORMAT USING clause are required vary according to the adapter. See the Targets topic for the writer you are using.

If an optional property is not specified, the source will use its default value. Values for required properties must be always specified in TQL, even if they have default values (which are displayed automatically in the web UI).

Here is an example of a target that writes server data to a file:

CREATE TARGET DSVFormatterOut using FileWriter(
  filename:'DSVFormatterOutput')
FORMAT USING DSVFormatter ()
INPUT FROM DSVTransformed_Stream;