Funnel stage problem

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Funnel stage problem

Post by splayer »

I have a job where the data from the funnel stage goes to a sort stage. The job executes fine. The link from the funnel stage to the sort stage shows a row count which means data has moved. However, data does not go through the sort stage onwards. This same problem happens when I replace the sort stage with a copy or a transformer. However, if I directly write this data to a sequential file, the file DOES get the data. I also turned off RCP.

Does anybody have an idea?
landaghaar
Participant
Posts: 38
Joined: Wed Sep 19, 2007 10:11 am
Location: Canada

Post by landaghaar »

Check if you try to push a nullable column to non nullable column. this happens often. It happened to me, it shows as writing and but nothing is written.

so my suggestion is to check the null values.
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Post by splayer »

All the incoming and outgoing columns to/from the funnel stage are non-nullable. This obviously means that the incoming columns to the sort stage are non-nullable as well.
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi,

What is your director log showing. Does it show any warnings of records being dropped because of nullability.

The metadata might be not null for all the columns from one stage to another but the value for one of the columns coming in can be null for which you have to do null handling.

HTH
--Rich
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Post by splayer »

Very strange! I removed all the stages after the funnel. Then I added a sequential file stage as a direct output of the funnel. I then added all the previous stages one by one between the funnel and the sequential file stage. It worked!
Post Reply