473,395 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 4965
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 factor in selecting the development language. Any...
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 the text below on his views of Python. I wondered...
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 program that will access a table and perform an...
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 maintain referential integrity is not free, but if...
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 function from a COBOL? If anybody has done this then...
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 have the Sub's name in a variable. Other than...
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 newsletters for the COBOL community at large? The...
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 to the C program and receive back a 64 position...
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 calling it as "child") created program when I...
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 accessing DB2. ex. there is a subroutine called...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.