Problem with Sequential File Reject Records
Posted: Tue Nov 10, 2009 7:11 am
My job design is as follows:
seq file (fixed width) ----> Copy Stg ----> Shared Container ----> Copy Stg ---> ....
The problem is, when I ran the above job with around 750,000 records, all the records were read through the shared container and some records got rejected inside the shared container to a reject file. ( through a column export stage reject link). The reason is simple, one of the columns in these rejected records contain less number of characters than specified. Now I have trimmed my source file to contain just 10 bad records and 10 good records (captured from my first run). Then I re-ran the job and to my surprise the bad records were rejected as warnings at the sequential file stage itself. Only the 10 good records passed through the shared container.
Any specific reason for this behaviour ? I can provide any additional details if required.
seq file (fixed width) ----> Copy Stg ----> Shared Container ----> Copy Stg ---> ....
The problem is, when I ran the above job with around 750,000 records, all the records were read through the shared container and some records got rejected inside the shared container to a reject file. ( through a column export stage reject link). The reason is simple, one of the columns in these rejected records contain less number of characters than specified. Now I have trimmed my source file to contain just 10 bad records and 10 good records (captured from my first run). Then I re-ran the job and to my surprise the bad records were rejected as warnings at the sequential file stage itself. Only the 10 good records passed through the shared container.
Any specific reason for this behaviour ? I can provide any additional details if required.