Common routines across projects

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
yamahaha
Participant
Posts: 2
Joined: Sun Aug 20, 2006 7:40 pm
Location: Sydney

Common routines across projects

Post by yamahaha »

Does anybody know of a way to make routines/jobs that can be visable accross many projects?
We have multiple projects but a common framework based routines that should be used with any sequence created within a project.
Thanks
Help!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There used to be a "cheat" possible with version 7 that involved redirecting hashed file pointers, but that is no longer possible with the repository structure at version 8; so the answer to your question is "no"; you would need to export/import the routine definitions in each project.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can put your routine wherever you like. Only one copy of the compiled and linked object/library is required on the system.

However, each separate project will need an entry in its own Repository - a "parallel routine" entry - that describes the name, calling name, location and arguments of that routine.

(Globally cataloged server routines are still supported. Hashed files and pointers to them are not relevant unless Arnd is regarding DSU_BP.O and its ilk as hashed files.)
Last edited by ray.wurlod on Wed Jul 15, 2009 6:23 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yamahaha
Participant
Posts: 2
Joined: Sun Aug 20, 2006 7:40 pm
Location: Sydney

Post by yamahaha »

Thanks for your replies.
Instead I am looking at implementing an automated code promotion process that will keep all projects in line...should be relatively straight forward.
Help!
Post Reply