Transformer without Primary Input
Posted: Wed Feb 01, 2006 7:32 am
I've created a job that uses DSJobStartDate to retrieve a related record from a database table and populate a hash file. The job flow is as follows:
In order to accomplish this, I've created the job such that Transformer1 does not have a primary input. Instead of an input link, I've created a stage variable named RowLimit with a default value of 2. Within the constraint of the output link, I've specified a condition of @OUTROWNUM < RowLimit. The job successfully compiles and processes a single row, as desired.
I'm not sure whether this method (i.e. using a transformer without an input link) is documented anywhere and would like to know whether there is any drawback to this approach.
Thanks!
Peter
Code: Select all
DB Referential Lookup
|
Transformer1 -->Transformer2-->HashFile
I'm not sure whether this method (i.e. using a transformer without an input link) is documented anywhere and would like to know whether there is any drawback to this approach.
Thanks!
Peter
Code: Select all