0 / 0

Peek stage in DataStage

Last updated: Mar 12, 2025
Peek stage in DataStage

The Peek stage lets you print record column values either to the job log or to a separate output link as the stage copies records from its input data set to one or more output data sets.

The Peek stage is a development and debug stage. It can have a single input link and any number of output links.

Like the Head stage (Head stage in DataStage) and the Tail stage (Sample stage in DataStage), the Peek stage can be helpful for monitoring the progress of your application or to diagnose a bug in your application.

The stage editor has three tabs:

  • Stage tab. This is always present and is used to specify general information about the stage.
  • Input. This is where you specify the details about the single input set from which you are selecting records.
  • Output. This is where you specify details about the processed data being output from the stage.

Input tab

The Columns section specifies the column definitions of incoming data. The Advanced tab allows you to change the default buffering settings for the input link.

Output tab

The Peek stage can have any number of output links. Select the link whose details you are looking at from the Output name drop-down list.

The Columns tab specifies the column definitions of the data. The Advanced tab allows you to change the default buffering settings for the output links.

Details about Peek stage mapping is given in the following section.