SQL Server 2008 and DB2 Stored procedures

Is executing a DB2 COBOL stored procedure via a SQL Server linked server supported? I am trying to execute a parameterized DB2 OS 390 stored procedure via a linked server on SQL server 2008. All attempts have failed. I cannot find explicit information if this function is supported. Any ideas?

more ▼

asked Oct 09, 2009 at 04:10 PM in Default

Joe Bogdanski gravatar image

Joe Bogdanski
31 1 1 1

Joe: did you get a chance to try this?
Oct 18, 2009 at 04:27 PM RBarryYoung
(comments are locked)
10|1200 characters needed characters left

1 answer: sort oldest

Try using this feature:

EXECUTE('db2-proc-command') AT linked-server 
more ▼

answered Oct 09, 2009 at 08:10 PM

RBarryYoung gravatar image

782 5 5 8

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Oct 09, 2009 at 04:10 PM

Seen: 1808 times

Last Updated: Oct 13, 2009 at 09:04 AM