DB2

DB2 is IBM's offering to the highend database market. The latest version of DB2 (Universal Database) is ideal for OLTP, Data Warehousing, Decision Support and everything in between. It's well priced, extremely scalable and runs on virtually every platform out there from handhelds to mainframes.

Calling COBOL program from DB2 Stored Procedure


Can somebody tell me whether I can call a COBOL program from a DB2 Stored procedure running in IBM Mainframe. If so how, please provide me an example.
Can we do it using a native sql stored procedure or do we need to create an external stored procedure in COBOL to call another COBOL program. Also do we need to create a WLM for this?
Thanks in advance,
Gopu
Originally Posted by gopurs
Can somebody tell me whether I can call a COBOL program from a DB2 Stored procedure running in IBM Mainframe.
From a stored procedure written in COBOL, you can of course call a COBOL subprogram (using the COBOL "CALL" statement).
The only way to call a COBOL program from a native SQL stored procedure is to implement an (external) stored procedure in COBOL that either contains the given COBOL program source code, or calls it.
Thanks Peter for your response.

Related Links

how can I start "db2cc"!
query optimizer runs astray....
Migration AS/400 DB2 to Windows DB2 8.1
Creating a new database with the existing database with same structure
load error SQL0302N
load error SQL0302N
Db2 Udb Unix Aix
Dropping and recreating a primary key which has already unique index
Strange installation problem - please help!
DB2 Varchar characters truncated
ZRC=0x805C012D
How to pivot dates into columns?
Task center problem
can i use the list tablespaces command in a procedure
stored proc problem
Forgot db2admin password

Categories

DataBase Dev
MongoDB
Adabas
DB2
Informix
Microsoft SQL Server
MySQL
Oracle
Pervasive.SQL
PostgreSQL
Sybase
Other
ASP
Crystal Reports
Delphi, C etc
JAVA
Perl and the DBI
PHP
ANSI SQL
Unix Shell Scripts
Visual Basic
Brilliant Database
Corel Paradox
FileMaker
Microsoft Access
Microsoft Excel
Other PC Databases
New Members & Introduc...
Applications & Tools
Database Concepts & De...
Chit Chat
Marketplace
Job Opportunities
Suggestions & Feedback

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App