External Source stage: Source section (DataStage)

Use the Source section to specify how the External Source stage operates.

Source program

Specifies the name of a program that provides the source 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. This property cannot exceed 255 characters if the job runs on a Microsoft Windows operating system.

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

Source programs file

Specifies a file that contains 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.

Source method

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