Joc trmplates

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Luk
Participant
Posts: 133
Joined: Thu Dec 02, 2004 8:35 am
Location: Poland
Contact:

Joc trmplates

Post by Luk »

Hello everyone!

Today, I have been looking on "NewTemplateFromJob" option in DataStage.
I can create job template and then use it, but (as I can see) template is only sth. like job copy stored on my client's machine or I don't understand template logic in DS.
Is there some way to parametrise my template or to make something similar
to wizard to populate new jobs faster and easier?


regards
LUK
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Job templates

Post by chulett »

Luk wrote:Is there some way to parametrise my template or to make something similar to wizard to populate new jobs faster and easier
No, not really. Ascential documented something along those 'Wizard' lines in the product which confuses things when people stumble across it, but it never really materialzed.

Yes, Templates are stored locally on your machine and yes it's not all that different from defining a regular job as a 'template' and then having people copy that to start off their new job. Just safer. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

I agree, templates feels like a piece of functionality that is only partially there. On large projects it is easier to use then copy job but requires some organisation to set up. The thing about copy job is knowing which job to copy, having that job in your project and then having to remove all the columns to add your own columns. Job templates can simplify this. At the moment there are restrictions, no underscore in job names and they have made it hard to change the template folder location (you need to hack the registry). I would expect it all to get an overhaul in the next release.

Each 7.x release has a large number of slowly changing dimension template jobs in the template directory, they were meant to be used by the SCD wizard but it never made it into an official release.
mdan
Charter Member
Charter Member
Posts: 46
Joined: Mon Apr 28, 2003 4:21 am
Location: Brussels
Contact:

Post by mdan »

I have checked on my installation, and surprise: I have found lots of xmls, even some .bat files which are supposed to load them (it runs xml2dsx) into a project (it should be fixed to run). However, all of them are developed for PX. (Property Name="OrchestrateCode" ...)
My license is for DS Server.
SCDs are located in <DSHOME>/Assitants/Generation/templates/enUS-CP1252

vmcburney wrote:I agree, templates feels like a piece of functionality that is only partially there. On large projects it is easier to use then copy job but requires some organisation to set up. The thing about copy job is knowing which job to copy, having that job in your project and then having to remove all the columns to add your own columns. Job templates can simplify this. At the moment there are restrictions, no underscore in job names and they have made it hard to change the template folder location (you need to hack the registry). I would expect it all to get an overhaul in the next release.

Each 7.x release has a large number of slowly changing dimension template jobs in the template directory, they were meant to be used by the SCD wizard but it never made it into an official release.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

I wouldn't expect any new functionality for server jobs from here on. Anything in the new release such as wizards, templates and a scd specialised stage will be developed for parallel jobs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What's your reason for making that statement? As far as I am aware no one in Ascential/IBM has officially declared the demise of server jobs.

An' there's still a truckload of bugs that need fixing in server 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.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

I didn't say there would be a demise of server jobs, in fact I think they will be supported for years to come. I said there would be no new functionality in server jobs. There will be bug fixes in server jobs because there are a lot of people using them. Server jobs may also benefit from some enhancements borrowed from the development of parallel jobs. It's an opinion I hold and it is based on the 6.x and 7.x releases which delivered new functionality and stages in sequence jobs and parallel jobs but didn't provide any functionality in server jobs.

I think people with server licenses will get a lot of benefits from the next release such as team collaboration, the shared repository, better metadata services etc. But I wouldn't expect anything to change on the server job canvas.
Luk
Participant
Posts: 133
Joined: Thu Dec 02, 2004 8:35 am
Location: Poland
Contact:

Post by Luk »

Thank you for all comments!

Regards
LUK
Post Reply