Page 1 of 1

Sorting not working

Posted: Tue Jun 01, 2010 1:10 pm
by datastagenewbie
I have a job that transforms data and assigns a serial number to it.
At the end I want all the data to be sorted based on the serial number, but I dont want the see the serial number. DAtaStage works well if the serial number is pulled from the Sorter stage to the Output SF stage, but the data is not sorted if the serial number is not pulled into the Output. Please advise.

Re: Sorting not working

Posted: Tue Jun 01, 2010 2:23 pm
by chowdhury99
Use copy stage and pass all columns but serial number. Thanks.
datastagenewbie wrote:I have a job that transforms data and assigns a serial number to it.
At the end I want all the data to be sorted based on the serial number, but I dont want the see the serial number. DAtaStage works well if the serial number is pulled from the Sorter stage to the Output SF stage, but the data is not sorted if the serial number is not pulled into the Output. Please advise.

Posted: Tue Jun 01, 2010 3:15 pm
by chulett
After the sort. :wink:

Posted: Tue Jun 01, 2010 3:35 pm
by datastagenewbie
I am going to try it. I tried, transformer, but that did not work.

Posted: Tue Jun 01, 2010 4:17 pm
by ray.wurlod
A correctly-programmed Transformer stage (after the Sort stage) WILL work to drop a column.

Posted: Tue Jun 01, 2010 4:34 pm
by datastagenewbie
[quote="ray.wurlod"]A correctly-programmed Transformer stage (after the Sort stage) WILL work to drop a column. ...[/quote]
hmm. I used the transformer to just drop the column. It didnot have anything else in it. Do u think something needs to be added in the transformer?

Posted: Tue Jun 01, 2010 4:54 pm
by ray.wurlod
I have no idea what U (one of our members) thinks, but nothing needs to be added. Maybe something (RCP perhaps) needs to be removed.

Posted: Wed Jun 02, 2010 2:30 am
by ArndW
Perhaps you have RCP enabled on the transform stage output, thus implicitly passing the column on.

Posted: Wed Jun 02, 2010 8:14 am
by datastagenewbie
[quote="ArndW"]Perhaps you have RCP enabled on the transform stage output, thus implicitly passing the column on. ...[/quote]

I used the Copy Stage and unchecked RCP. ANd it's working. Thanks for all ur help!