Skip to main content

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"
      }

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!