Best way to implement a business logic in C
Moderators: chulett, rschirm, roy
Best way to implement a business logic in C
Assuming that we have to accomplish a particular functionality in C. whats the best way to call it in datastage?
using the build op or generating a library and call it in a transformer?
tia
using the build op or generating a library and call it in a transformer?
tia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Challenge the assumption.
You've just spent $squillion on a GUI tool that can do the job AND generate C++ code.
So why do you have to "implement a business logic in C" ?!!
Do it in DataStage. Open the generated C++ code generated by compiling the Transformer stage, copy the code into a document, and present it to "them". Tell them you implemented it in C. Because you did.
You've just spent $squillion on a GUI tool that can do the job AND generate C++ code.
So why do you have to "implement a business logic in C" ?!!
Do it in DataStage. Open the generated C++ code generated by compiling the Transformer stage, copy the code into a document, and present it to "them". Tell them you implemented it in C. Because you did.
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.
i didnt get u..what do u mean by none of them are compiling..yes we had issues when compiling transformers which had lot of code..but the requirements are so weird that we had to go for a c implementaion in build op. but there was some debate over using a buildop or making them as uder defined routines and calling htem in a transformerDSguru2B wrote:And none of them are compiling. Is that what you are saying? ...
Never mind. For some reason when you said C functions i guessed it would be routine and not a buildop. I missed that you had mentioned buildop in your previous post.pavankvk wrote: i didnt get u..what do u mean by none of them are compiling..yes we had issues when compiling transformers which had lot of code..but the requirements are so weird that we had to go for a c implementaion in build op. but there was some debate over using a buildop or making them as uder defined routines and calling htem in a transformer
And what do you mean that you cannot use the transformer. As Ray noted that your company paid big bucks to get this product. Use it. Instead of re-inventing the wheel. Just a suggestion.
![Smile :)](./images/smilies/icon_smile.gif)
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.