Page 1 of 1

Server to parallel

Posted: Wed May 10, 2006 1:47 pm
by fmartinsferreira
Hi!
I'm transforming a Server job to Parallel Job and I have the following command Oconv(Trim(LINK_004.OTHER_AMT),'MD2') that work in a transformer stage and it doesn't work in a parallel job.

I saw that there is a function -> StringtoDecimal(String,Rtype) but the help that I have is very poor.

Can anybody help me?

Additional info -> the input is a string like 112.12 and I need the following output 112.

Regards,

Fernando

Re: Server to parallel

Posted: Wed May 10, 2006 1:57 pm
by us1aslam1us
fmartinsferreira wrote:Hi!
Additional info -> the input is a string like 112.12 and I need the following output 112.
Try "floor" from the transform functions and that will work for you.

Thanks
Sam

Re: Server to parallel

Posted: Thu May 11, 2006 1:58 pm
by fmartinsferreira
Sorry but I don't understand "floor"

Thanks
Fernando

Posted: Thu May 11, 2006 2:45 pm
by ray.wurlod
You can select floor() from the expression editor in the parallel Transformer stage. It's the parallel equivalent of the server Int() function, returning the largest integer smaller than its argument.

Posted: Thu May 11, 2006 3:31 pm
by fmartinsferreira
Thank you!

Work very well!

Regards,

Fernando