External Target stage: Target section (DataStage)

The External Target stage: Target section includes the properties, Destination program, Destination program file, and Target method. The Destination program specifies the name of the program receiving data, whereas Destination programs file specifies a file containing a list of program names and arguments. The target method specifies if you directly specify a program or use a file to specify a program.

Destination program

This is an optional property. Specifies the name of a program receiving data. IBM® DataStage® calls the specified program and passes to it any arguments specified. You can repeat this property to specify multiple program instances with different arguments. You can use a job parameter to supply program name and arguments.

You can use the following commands as values for the program:
  • cat
  • tar
  • gzip
  • gunzip
  • mailx
  • sendmail
  • grep
  • sed
  • base64

Destination programs file

This is an optional property. Specifies a file containing a list of program names and arguments. You can browse for the file or specify a job parameter. You can repeat this property to specify multiple files.

Target method

This property specifies whether you directly specifying a program (using the Destination Program property) or using a file to specify a program (using the Destination Programs File property).