Page 1 of 1

Tranform runs too long!

Posted: Tue Mar 09, 2004 7:49 am
by Marley777
Please Help! :?

Hello, I have a transformer problem and was wondering if anyone has experienced the same thing.

I'm simply mapping my input to my ouput and creating an additional field based on the value of another field. I use an if statement in the derivation column of the new field to check the value of an existing field. The value in the new field is determined by the value in the existing field. The if statement is big, but can't beleive it would slow things down that much. My tranformer never stops running. I'm only processing 50,000 records. My co workers are experiencing the same things with their Basic Transformer stages. All of our transformer stages are different in what they do, but they all run forever. We are not sure what the problem is and need help.

Posted: Tue Mar 09, 2004 2:52 pm
by ray.wurlod
There's definitely a problem here. You should be able to do 50000 rows in about a minute or two (depending on hardware) if source and target are text files. Maybe five.
Perhaps the source file lacks an end-of-file character, and your BASIC Transformer stage is waiting forever for it. (This is how this stage type is signalled that everything is complete; it issues a "get next row" call and has "no data found" returned.)

Tranform runs too long!

Posted: Wed Mar 10, 2004 5:27 pm
by bigpoppa
I agree with Ray. If you are not able to solve the problem, could you post the generated basic code?

Thanks
BP

Posted: Thu Mar 11, 2004 3:13 am
by gh_amitava
Hi,

This problem may appear anytime if you are using Basic Transformer in a parallel job in datastage 7.0. It is suggested by DataStage that instead of using Basic transformer, use PX Transformer. This is due to the fact that Basic transformer is not a part of orchestrate engine and for this you may face the mutex error or the job may wait for long.

Regards
Amitava

Posted: Thu Mar 11, 2004 4:27 pm
by ray.wurlod
Can you give us a reference for this statement?
Is it on the Ascential web site?
Is there an e-case for it?

Posted: Fri Mar 12, 2004 6:20 am
by ariear
There are many problems using a Basic transformer in PX and that's only one of them. There's seems to a problem when using a Basic transformer after a parallel Sort also. The good news, Ray ,are that you can do 50000 rows a second ! :D