makkena_v
asked on
Converting COBOL Program to DB2 Stored Procedures
Hi,
We have many COBOL programs on IBM mainframe, we are planning to convert them to DB2 stored procedure. is there any tools to conver this. Is there any performance and easy mainitenance benifit?.
We have many COBOL programs on IBM mainframe, we are planning to convert them to DB2 stored procedure. is there any tools to conver this. Is there any performance and easy mainitenance benifit?.
no, there isn't any tool. Also in DB2 a stored procedure
is a trick, when you write one it is converted in C source and then compiled (take a look at /home/db2inst1/sqllib/func tion/routi ne/sqlproc to see the c source).
ByeBye.
is a trick, when you write one it is converted in C source and then compiled (take a look at /home/db2inst1/sqllib/func
ByeBye.
Hi makkena_v ,
Yes, there is a way to use your legacy system.
IBM UDB supports External Stored Procedures, which are SQL wrappers around existing programs.
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsnsq0g3/CCONTENTS
look for the " CREATE PROCEDURE (external) " definition.
You will not see a performance penalty, and the benefits are obvious - you wrap your business logic and use it either internally or expose it thru the stored procedure to external applications via ODBC/JDBC.
Cheers,
ShalomC
Yes, there is a way to use your legacy system.
IBM UDB supports External Stored Procedures, which are SQL wrappers around existing programs.
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsnsq0g3/CCONTENTS
look for the " CREATE PROCEDURE (external) " definition.
You will not see a performance penalty, and the benefits are obvious - you wrap your business logic and use it either internally or expose it thru the stored procedure to external applications via ODBC/JDBC.
Cheers,
ShalomC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
is a trick, when you write one it is converted in C source and then compiled (take a look at /home/db2inst1/sqllib/func
ByeBye.