467,134 Members | 949 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,134 developers. It's quick & easy.

Calling COBOL sub-routines from Stored procedures written in SQL

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
  • viewed: 4581
Share:
2 Replies
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
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.

Similar topics

242 posts views Thread by James Cameron | last post: by
30 posts views Thread by Stuart Turner | last post: by
2 posts views Thread by Giulio Belrango | last post: by
3 posts views Thread by BobTheDatabaseBoy | last post: by
4 posts views Thread by Rahul Anand | last post: by
2 posts views Thread by craig via DotNetMonster.com | last post: by
reply views Thread by cobug@cobug.com | last post: by
reply views Thread by mpark090 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.