Just curious.
Can someone show me a good example on how to use shared containers in server jobs?
Because i just cant figure out one. Some example where i can use it several times to reduce dev time
Thanks in advance.
Shared Container best practices
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 44
- Joined: Wed Sep 02, 2015 7:19 am
- Location: Brasilia, Brazil
Shared Container best practices
Leandro Vieira
Data Expert - Brasilia, Brazil
Data Expert - Brasilia, Brazil
IMHO they serve two purposes. One is the typical 'reusable code' usage. If you have common business logic that will be used in multiple places, they allow you to have one set of code that everyone can use so the rules are applied correctly in all cases.
Another use is as a local container (not shared) to make jobs more... condensed and readable. Large chunks can be in a container and if someone cares about exactly how the sausage is made they can open up the grinder.
However, the primary purpose is the whole 'shared' aspect for reusable code.
Another use is as a local container (not shared) to make jobs more... condensed and readable. Large chunks can be in a container and if someone cares about exactly how the sausage is made they can open up the grinder.
However, the primary purpose is the whole 'shared' aspect for reusable code.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Historically, the most common use for a shared container has been for generic error capture and handling. This has somewhat been overtaken by the new Exceptions stage.
Connections to data sources and targets are also good candidates.
Another use for server shared containers is to introduce server job functionality into parallel jobs.
Connections to data sources and targets are also good candidates.
Another use for server shared containers is to introduce server job functionality into 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.