By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,334 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,334 IT Pros & Developers. It's quick & easy.

Calling COBOL sub-routines from Stored procedures written in SQL

P: n/a
Hi!

In our company we have a huge amount of COBOL sub-routines that are
called from other COBOL-programs.

Now we are looking for a method to call them from Windows/Web
applications.

One idea is to wrap the sub-routine call in a DB2 stored procedure and
call the procedure from our Web application.

Anyone who like to comments on this approach?

Anyone who can give me a hint of where to look for examples and more
information?

Cheers!
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You can find cobol sp samples in sqllib/samples/cobol (spcreate.db2 has
the ddl, and inpsrv.sqb is an example sp).

Thomasb wrote:
Hi!

In our company we have a huge amount of COBOL sub-routines that are
called from other COBOL-programs.

Now we are looking for a method to call them from Windows/Web
applications.

One idea is to wrap the sub-routine call in a DB2 stored procedure and
call the procedure from our Web application.

Anyone who like to comments on this approach?

Anyone who can give me a hint of where to look for examples and more
information?

Cheers!

Nov 12 '05 #2

P: n/a
I'm aware of the possibility to create COBOL SP:s but are looking for
a method to register (thru a DDL) a already compiled COBOL sub and
make it accessibly as a stored procedure for my Web app.

/Thomas

Sean McKeough <mc******@nospam.ibm.com> wrote in message news:<41********@news3.prserv.net>...
You can find cobol sp samples in sqllib/samples/cobol (spcreate.db2 has
the ddl, and inpsrv.sqb is an example sp).

Thomasb wrote:
Hi!

In our company we have a huge amount of COBOL sub-routines that are
called from other COBOL-programs.

Now we are looking for a method to call them from Windows/Web
applications.

One idea is to wrap the sub-routine call in a DB2 stored procedure and
call the procedure from our Web application.

Anyone who like to comments on this approach?

Anyone who can give me a hint of where to look for examples and more
information?

Cheers!

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.