Shared Container and Local Container

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sriram_h
Participant
Posts: 9
Joined: Mon Apr 11, 2005 4:43 am

Shared Container and Local Container

Post by sriram_h »

Difference between a shared container and a local container?
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

A shared container can be shared between jobs and is great for re-usability while a local container can only be used in the job in which it is created, it is useful for simplifying job design by breaking the job into different sections.
Adam_Clone
Participant
Posts: 26
Joined: Fri Apr 08, 2005 12:58 am

Re: Shared Container and Local Container

Post by Adam_Clone »

Hi Sriram ,

Shared containers help you to simplify your design but, unlike local containers, they are reusable by other jobs. You can use shared containers to make common job components available throughout the project. You can create a shared container from a stage and associated meta data and add the shared container to the palette to make this pre-configured stage available to other jobs.

You can also insert a server shared container into a parallel job as a way of making server job functionality available. For example, you could use it to give the parallel job access to the functionality of a plug-in stage. (Note that you can only use shared containers on SMP systems, not MPP or cluster systems.)

The main purpose of using a DataStage local container is to simplify a complex design visually to make it easier to understand in the Diagram window. If the DataStage job has lots of stages and links, it may be easier to create additional containers to describe a particular sequence of steps. Containers are linked to other stages or containers in the job by input and output stages.

You can create a local container from scratch, or place a set of existing stages and links within a container. A local container is only accessible to the job in which it is created
I hope this will shed some light :idea:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Nicely said. :wink:

The only thing I'd add is on the subject of using shared containers to add Server functionality to PX jobs. Do this at the expense of speed in your job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply