Page 1 of 1

Joc trmplates

Posted: Mon Sep 05, 2005 4:24 am
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

Re: Job templates

Posted: Mon Sep 05, 2005 6:23 am
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:

Posted: Mon Sep 05, 2005 3:45 pm
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.

Posted: Mon Sep 05, 2005 5:07 pm
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.

Posted: Mon Sep 05, 2005 8:09 pm
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.

Posted: Mon Sep 05, 2005 8:29 pm
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. :(

Posted: Mon Sep 05, 2005 8:45 pm
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.

Posted: Tue Sep 06, 2005 2:02 am
by Luk
Thank you for all comments!

Regards