External Target stage: fast path (DataStage)

This section specifies the minimum steps to take to get an External Target stage functioning.

About this task

To use the External Target stage:

  • In the Input tab, in the Properties section, complete the following steps:
    • Specify whether the stage is providing details of the program (the default) or whether details will be provided in a file (using the latter method you can provide a list of files and arguments).
    • If using the default target method, specify the name of the target program executable. You can also specify required arguments that DataStage® will pass when it calls the program. Repeat this to specify multiple program calls.
      You can use the following commands as values for the program:
      • cat
      • tar
      • gzip
      • gunzip
      • mailx
      • sendmail
      • grep
      • sed
      • base64
      • ls
    • If using the program file target method, specify the name of the file containing the list of program names and arguments.
    • Specify whether to delete partially written data if the write fails for some reason (True by default).
    • Specify how to treat rejected rows (by default the stage continues and the rows are discarded).
  • In the Input tab, in the Format section, complete the following steps:
    • Specify format details for the data you are writing, or accept the defaults (variable length columns enclosed in double quotes and delimited by commas, rows delimited with UNIX newlines).
    • Ensure that column definitions have been specified (this can be done in an earlier stage or in a schema file).