Automating Design work

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
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Automating Design work

Post by saikrishna »

Hi

We need to develop a job which does lookup to multiple hash files (around 20-30) and loads it to a table.

Currently using desinger developing these jobs taking more time.
Is there any way other than using designer, can we do the same design work which would be faster like writing a code?

FYI: All the hash files have the similar structure with different column names and different file names.

We would like to do this lookup mapping work for lot of jobs, and wanted to finish as fast as we can....

Please suggest any solution for this..

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

Post by chulett »

No. If you want to "finish as fast as you can" then do not waste time on an effort to make this faster, just do it. Any sort of automated effort would take a fair degree of expertise with the underlying architecture.

Have you considered a shared container if the lookups are the same? Or just copy/paste to get a running start?
-craig

"You can never have too many knives" -- Logan Nine Fingers
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Post by saikrishna »

Hi Chullett

I mean to say that the hash files are having similar structure but not same.

What I wanted to explore was
i. Editing the dsx file that was generated from the export of the job...

ii. Doing a direct insert on the UV tables underlined the DataStage Engine.


Any suggetion could help me...

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

Post by chulett »

I'm going to stick to my original suggestion. Investigate something like this when you aren't under the gun to finish "as fast as you can". You'll waste more time futzing with this than you'll realize and if you just buckle down and do the monkey work it will be done before you know it. Futz when you have some free time.
saikrishna wrote:i. Editing the dsx file that was generated from the export of the job...

ii. Doing a direct insert on the UV tables underlined the DataStage Engine.
i. Possible. Still I doubt it will be any faster than adding a stage via the Designer and dragging over the saved metadata. Or faster than copy/paste from another open job.

ii. Very Bad Idea. Banish it from your mind.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Hire somebody who CAN produce the DataStage jobs quickly.

Watch them and learn. Have them then mentor you in the techniques used.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

There is FastTrack which can generate jobs. I have a poor man's version of the same. It takes a sample DSX and changes by replacing source and target columns. It assumes a fixed number of lookups.
Mamu Kim
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

You say the hashed files are similar. Could making the hashed files identical simplify the process? If a square peg will not fit into a round hole, then make more round pegs.
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Post by rameshrr3 »

We would like to do this lookup mapping work for lot of jobs, and wanted to finish as fast as we can....
Add more developers ;) .. Yeah i know management has the usual shortage of budgets and business has the urgency..

Threaten to gracefully resign and ask management to do the development ;)..
Post Reply