
Make sure that your job is successful
The best measure of the success of a job is the state of the target data. Always examine data to be sure that the data movement operation produces the results expected.
- Data must not be converted to incompatible types or truncated.
- Data must not be duplicated in the target.
- Data must not be lost between updates of the target.
- Generated keys must have been properly incremented.
- Updated values must have been handled properly.
Using View Data with Sources and Targets
As shown in the following figure, by using the View data feature, it is possible to check the status of data at any point after metadata is imported for a data source. The data is checked before or after data flows are processed. Check the data when jobs are designed and tested to ensure that the design returns the results expected.

Data Details
View data allows you to see source data before a job is executed. Use data details to:
- Create higher quality job designs
- Scan and analyze imported table and file data from the Local Object Library
- View the data for those same objects within existing jobs
- Refer back to the source data after a job is executed
View data also allows for the checking of target data before a job is executed. Once the job is executed, view the changed data. In a data flow, it is possible to use one or more View data panels to compare data between transforms and within source and target objects.
View data displays data in the rows and columns of a data grid. The path for the selected object displays at the top of the pane.
View Data in a Data Grid
The number of rows displayed is determined by a combination of several conditions:
- Sample size:
The number of rows sampled in memory. Default sample size is 1000 rows for imported source, targets, and transforms.
- Filtering:
The filtering options that are selected. If the original data set is smaller or if filters are used, the number of returned rows could be less than the default.
View Data Pane
To open a View data pane in a data flow workspace:
- In the data flow workspace, select the magnifying glass button on a data flow object.
A large View Data pane appears beneath the current workspace area.
- To compare data, select the magnifying glass button for another object.
A second pane appears below the workspace area, and the first pane area shrinks to accommodate it.
It is only possible to have two View data windows open at any time. When a third window is selected to be opened, a prompt appears and one of the windows is selected to be closed.
Source and Target Tables
To use View data in source and target tables:
- On the Datastore tab of the Local Object Library, right-click a table and select View Data from the menu.
The View Data dialog box displays.
When both panes are filled and another View Data button is selected, a small menu appears containing window placement icons. The black area in each icon indicates the pane that you want to replace with a new set of data. When a menu option is selected, the data from the latest selected object replaces the data in the corresponding pane.