Should we use store Proc in DataStage.

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
anshumangupta1206
Participant
Posts: 42
Joined: Tue Jan 24, 2006 9:11 am

Should we use store Proc in DataStage.

Post by anshumangupta1206 »

Hi All,
I have to call store Proc in Datastage. But I heart from many experts that we should not use it. Can somebody give me the reasons for the same.

Thanks.
wed
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I'm curious as to what the experts are saying about the use of stored procedures. There are some cases where a stored procedure is the only way to get things done and many where their use is going to slow jobs down.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In all the years I've been doing this, I have yet to see a situation where I had to use a Stored Procedure. Maybe that's unusual, don't know. Looks like our foray into SOA land may require one real soon, however.

Unless you are doing something that absolutely requires it, I would tend to avoid them...
-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 »

Welcome aboard. :D

What "experts"?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
anshumangupta1206
Participant
Posts: 42
Joined: Tue Jan 24, 2006 9:11 am

Post by anshumangupta1206 »

Thanks for all suggestions.
May I explain my situation then you all would be more tend to give exact views. Actually our application is based on VB code and the interfaces we are carrying on DataStage. In VB code our convention is to update table through store proc. So, shd I use the same convention in DataStage.
wed
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi,

Just give a try to search this forum for the topic "Stored Procedure".
I got 300+ topics. You can call stored procdures from your ODBC stage.
Since you are dealing with the database directly from DataStage, it should be possible.
Also let us know, what you trying to achieve thorough procedures?

-Kumar
raj_konig
Participant
Posts: 67
Joined: Thu Dec 22, 2005 12:27 am

Post by raj_konig »

Hi,

No need to follow the same convention. you can easily accomplish your task by the normal way instead of using a stored procedure.

As far as my knowledge is concerned, there is no problem in usign the stored procedures.

rajesh
Post Reply