Calling Basic Routine in Parallel Job
Moderators: chulett, rschirm, roy
Calling Basic Routine in Parallel Job
I am attempting to call a Basic routine in a parallel job - through the parallel transform it doesnt seem possible - I read here that it is possible to use aserver transform in a parallel job and therefore call the server routine - but that was a 7x post. Has anyone managed this in 8x ? Doesnt seem to want to fly.....
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard. :D
Parallel routines (callable from parallel Transformer stage) must be written in C++. This stage type does not support DataStage BASIC routines. In any version of DataStage.
If you want to call a BASIC routine you need a BASIC Transformer stage. But this, too, has its downsides (Search for more information).
Parallel routines (callable from parallel Transformer stage) must be written in C++. This stage type does not support DataStage BASIC routines. In any version of DataStage.
If you want to call a BASIC routine you need a BASIC Transformer stage. But this, too, has its downsides (Search for more information).
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
BASIC Transformer stage can be used in MPP environments, but only in a node pool that contains only the node on which the DataStage server is installed (usually but not necessarily the conductor node).
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.
A balance of Server and Parrallel
I guess when you decide to use a basic routine you lose the advantage of parrallelism so within a sequence I am using a mixture of Server and Parrallel jobs - server if I want to call a basic routine, otherwise parrallel. I am not loading an enormous amount of data so the performance difference is minimal.
We are reluctant to start building routines in c++ for maintainability reasons, lack of experience within the company etc....
We are reluctant to start building routines in c++ for maintainability reasons, lack of experience within the company etc....
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Job Sequences themselves do not have any innate parallelism, and BASIC expressions (and therefore routines) can be used throughout.
Well-designed server jobs can process small to medium volumes of data faster than parallel jobs, particularly if the latter have not been well-designed, but also because of the startup overheads incurred with parallel jobs.
Well-designed server jobs can process small to medium volumes of data faster than parallel jobs, particularly if the latter have not been well-designed, but also because of the startup overheads incurred with parallel jobs.
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.
-
- Premium Member
- Posts: 197
- Joined: Sun Jul 15, 2007 11:45 pm
- Location: Prague
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: