Search found 4 matches

by kosmos1981
Wed May 09, 2007 7:50 am
Forum: General
Topic: How to call a stored procedure in a routine
Replies: 7
Views: 4413

ray.wurlod wrote:... except that the error handling is abysmal, so you had better hope that you never get any errors. ...
Exactly ! if I have errors, I see it only in Datastage logs. Perhaps you can interpreted the routine's answers ....

But I wanted just to show how to create a connexion SQL in Datastage Basic.
by kosmos1981
Fri May 04, 2007 8:28 am
Forum: General
Topic: How to call a stored procedure in a routine
Replies: 7
Views: 4413

thx you. I found response in searching on the Internet and it work : *************************************************** ** FUNCTION ExecSQLProc(dataSource,userName,password) ==> RETURN (Ans) *************************************************** $INCLUDE UNIVERSE.INCLUDE ODBC.H ** Initialise parameter...
by kosmos1981
Mon Apr 30, 2007 9:20 am
Forum: General
Topic: How to call a stored procedure in a routine
Replies: 7
Views: 4413

If your not well versed in writing routines then I would suggest a workaround. Call the stord proc. in a before/after sql tab of DRS stage or from STP stage. You dont need to write a custom routine to do this. I need a custom routine because i would like to call it in each job Master (before/after ...
by kosmos1981
Mon Apr 30, 2007 9:00 am
Forum: General
Topic: How to call a stored procedure in a routine
Replies: 7
Views: 4413

How to call a stored procedure in a routine

Hi,


I don't know Datastage Basic for develop my own routine. I need help about us.
I would like to call a stored procedure (SQL Server) in my own routine. How ?

Thx