Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can a DB2 COBOL Stored Procedure call a COBOL subroutine

Status
Not open for further replies.

tco1466

Programmer
Mar 9, 2001
1
US
We are running DB2 v6 with a DB2-established stored procedure address space. We have a cobol stored procedure (SP) that needs to call a cobol subroutine (not a SP). So far we have found that we can put the load module for the subroutine in the SP loadlib that is in the startup jcl for the SP address space. Is this normal or is there a better way to enable the ability to call these subroutines?


 
Could you make the call to the sub routine static ie. CALL 'PROGNAME' USING..... and link edit the subroutine into the stored procedure load module?

Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top