I want to make Auto Job Generation utility.

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
him121
Premium Member
Premium Member
Posts: 55
Joined: Sat Aug 07, 2004 1:50 am

I want to make Auto Job Generation utility.

Post by him121 »

hi..
can any one tell me..that..
if i give one template ...can i make job automatically...generated..
like if i pass source table details and target table details ...
can i do...
automatic job generation...
contact me......
my id phd21@rediffmail.com
phone no: 919886135740
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

They are trying to get there in Ds7.5 but I think they are still a long ways away from that kind of automation. I think if you wrote one job and exported it and looked at the DSX file then you might be able to reverse enginineer it and generate your own DSX files from your source and target metadata.
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, it can be done. A colleage of mine did exactly that, but having worked for Ascential for some time gave him a leg up on someone like you or me trying to work this out on our own. It is not all that simple and not something that someone can just "tell you", but it can be done. :?

But as Kim said, build your template job and then export and study it. Determine the sections you'd need to generate and work out a methodology to do that. It may be a little easier to tackle the problem using an XML export rather than a DSX, but that would be for you to determine.

Good luck!
-craig

"You can never have too many knives" -- Logan Nine Fingers
peternolan9
Participant
Posts: 214
Joined: Mon Feb 23, 2004 2:10 am
Location: Dublin, Ireland
Contact:

Re: I want to make Auto Job Generation utility.

Post by peternolan9 »

him121 wrote:hi..
can any one tell me..that..
if i give one template ...can i make job automatically...generated..
like if i pass source table details and target table details ...
can i do...
automatic job generation...
contact me......
my id phd21@rediffmail.com
phone no: 919886135740
Hi him121,
what you are asking for is extremely difficult in DataStage. I know because I tried for a long time to figure out how to do it.

I implement Sybase IWS and often times we use DS. About 18 months ago I decided having ETL templates for loading IWS would be a good idea and I tried doing this in DS (and INFA).

What I tried to do was create a template for each style of processing and then generate a utility to take the template and generate the new job.

After I figured out what was necessary to make datastage able to generate a new job based off a template I realised it would take well over a month to develop such a utility (if I could get it to work) so I stopped work on it. I left it as just a suite of templates that could be adjusted by hand for each install. No-one paid money for them and they are now with Syabse as 'extra-ware'.

Also, even if I could do this, I felt there was no benefit for me.

How could I get someone to 'pay for a productivity tool for my productivity tool'? No IT manager would give me money for that.

I even toyed with the idea of making it a web service. But now matter how I looked at it there was no money in beign able to generate jobs for DataStage for me.

If the tool was popular Ascential could just build one the same and offer it in the 'next release'.

The basic issue is that DS (and INFA) store the processing requirements with the data model and at a field level. This is required to provide the metadata linkage from source to target which is valuable information. It has the disadvantage that each job records a lot of information.

This is one of the things I avoided with the ETL software I wrote....and of course one of the disadvantages of my software is very little metadata and documentation must be kept in spreadsheets/word rather than the tool....you can't have it both ways....yet...;-)
Best Regards
Peter Nolan
www.peternolan.com
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Isn't this already in version 7.1? The Intelligent Assistant for a migration job runs a user through a wizard where they select the source table and the target table and it builds the job for them. Maybe you can insert your template job into this process.

Can we build our own intelligent assistants? Hopefully Ascential have made this function open source so developers can start building, promoting and swapping intelligent assistants.
Post Reply