Hi I have a requirement where I need to keep perform arithmatic operations on 5 i/p columns of a transformer stage.which cannot be done in a single step.
is there any way,I can write a custom function in datastage where I can use intermediate results for further processing and finally place the desired output as an o/p column??
any pointers regarding this is highly appreciated..
how to write a customized function in datastage.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Create your functions in C++ and compile and link them.
Create a DataStage "parallel routine", which is an entry in your repository that tells DataStage that your function exists and the arguments it requires and returns.
Make sure that your shared library search path includes the directory in which your library/object resides.
Invoke your function in the parallel Transformer stage.
Create a DataStage "parallel routine", which is an entry in your repository that tells DataStage that your function exists and the arguments it requires and returns.
Make sure that your shared library search path includes the directory in which your library/object resides.
Invoke your function in the parallel Transformer stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.