# Striim 3.9.4 / 3.9.5 documentation

#### CREATE TARGET

CREATE TARGET <name>
USING <adapter 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 Adapters reference section for the adapter 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). You may use environment variables in property values (see Using environment variables in source and target properties).

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;