Page 1 of 1
Common routines across projects
Posted: Wed Jul 15, 2009 1:31 am
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
Posted: Wed Jul 15, 2009 1:38 am
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.
Posted: Wed Jul 15, 2009 4:43 pm
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.)
Posted: Wed Jul 15, 2009 5:35 pm
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.