initcap function in parllel jobs

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
sri1111
Charter Member
Charter Member
Posts: 29
Joined: Sun Nov 20, 2005 9:23 am

initcap function in parllel jobs

Post by sri1111 »

Hi All,

Please help me out in finiding a way to do oracle INITCAP function in parllel jobs

Thanks in advance.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

Naveen's post informs you that you posted a question about parallel jobs in a server jobs forum.

You can perform the INITCAP function in Oracle itself, as part of your column selection clause in your SQL passed from DataStage.

There's no direct equivalent in parallel jobs but, in the Transformer stage you have Upcase, Downcase, Len, Substring and concatenate capabilities, so you could construct an appropriate expression.

Or you could create a Custom stage (buildop) or a parallel routine (both need C++ code) to perform the task.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rgandra
Premium Member
Premium Member
Posts: 49
Joined: Mon Aug 02, 2004 9:31 am
Contact:

Post by rgandra »

Thanks Ray Wurlod .It will help us
Thanks
Post Reply