I need to drop some of the columns from Input file. I am using the FILTER stage immediately after the sequential file to filter out some records.
I know that the COPY stage is the best practice for dropping the columns. Here my doubt is, instead of using another stage, can we drop columns in the FILTER stage itself.
Actually, the best stage to drop columns with is the Modify stage, and since the Filter stage won't let you drop columns I suggest that you use the Modify Stage.
The best stage to use to drop columns is the Copy stage, as its processing overheads are zero. The "transfer" is done by pointing the output column to the same address as the input column.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.