DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
leandrohmvieira
Participant



Joined: 02 Sep 2015
Posts: 40
Location: Brasilia, Brazil
Points: 407

Post Posted: Mon Aug 29, 2016 12:25 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Server
OS: Windows
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.

_________________
Leandro Vieira

Kyros Tecnologia- Uberlândia, Brazil
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42327
Location: Denver, CO
Points: 217355

Post Posted: Mon Aug 29, 2016 7:05 pm Reply with quote    Back to top    

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. Wink

However, the primary purpose is the whole 'shared' aspect for reusable code.

_________________
-craig

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54086
Location: Sydney, Australia
Points: 293338

Post Posted: Fri Sep 02, 2016 3:58 am Reply with quote    Back to top    

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 source ...

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours