472,342 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,342 software developers and data experts.

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
2 4874
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me...
2
by: Giulio Belrango | last post by:
Hi I need someones help I'm working in an IBM 390 batch environment. What I'm trying to do is to call from a non DB2 COBOL program a DB2 COBOL...
3
by: BobTheDatabaseBoy | last post by:
i grab quotes now and again for use as footers to e-mail here in CubeLand. found this one in the stash: the logic exercised by the database to...
4
by: Rahul Anand | last post by:
I am getting trouble in calling a function defined in C# DLL from COBOL program. First I want to ask whether it is possible to call a C# DLL...
2
by: craig via DotNetMonster.com | last post by:
I'm sure there is a simple answer, but I just can't get my head around this today. I have various Sub's that each generate a specific report. I...
0
by: cobug | last post by:
Dear COBOL Users, Articles are being sought for the COBOL User Groups (COBUG) newsletters. Will you help us in our efforts to provide...
0
by: mpark090 | last post by:
Hello, Now that I have my C program running and my COBOL programming running, thanks to the support here. Now I need to pass a 16 position number...
2
by: Subhrangsu Chandra | last post by:
I have created a MF-COBOL Program which generates an another COBOL Program.Now I am in search of the system command which can compile the newly(I am...
0
by: kick2006 | last post by:
Hi guys: I am a mainframe cobol programmer, and now i need some helps. I want to write a cobol subroutine it can provide functions for...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.