tFileOutputDelimited example
In the following example:
-
The output stream feature is activated in the component, via a global variable specifying the target path and file name defined in a tJava component. See tJava Job script properties for more information.
-
The header row is added to the target file.
setSettings {
USESTREAM : "true",
STREAMNAME : "(java.io.OutputStream)globalMap.get(\"output_file\")",
INCLUDEHEADER : "true"
}