My job is required to get the row number for the rejected rows in order to link them back to the sequencial file. But for my understanding, the data is partitioned after the sequencial file is read into DataSet and passing to the next stage.
I probably can get the @INROWNUM and @PARTITIONNUM in a transformer stage, but they are useless.
Someone suggests that I run the transformer stage in sequencial...it works but has impacts to the job performance.
I was also thinking to add another column ROWNUMBER into the file by OS commands...but I would prefer a DataStage solution.
I tried to do a search but didn't get an answer. Can anyone here give me any ideas?