Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Executing a Stored Procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
paray2x

New User


Joined: 28 Dec 2005
Posts: 21

PostPosted: Mon Jan 28, 2008 6:18 pm    Post subject: Executing a Stored Procedure
Reply with quote

Hi,

I have a COBOL stored procedure. I need to debug it to determine the cause of some issues.

I added some statements to the Cobol stored proc, pre-compiled, bound and stored it in my personal dataset containing the load module.

When I run the program that calls this stored procedure, The procoedure which I compiled does not get called whereas the procedure from Endevor is called.

Can anyone suggest me a way to execute cobol stored procedures from personal datastes ?

Thanks in adavnce
Back to top
View user's profile Send private message

Peter Medina

New User


Joined: 10 Oct 2007
Posts: 3
Location: Florida

PostPosted: Tue Jan 29, 2008 11:57 pm    Post subject: Reply to: Executing a Stored Procedure
Reply with quote

The DBA must define the address space where the stored procedure runs.
This can be a DB2 address space or a Work Manager(WLM) address space.
It seems this is already done, since you mention Endevor.

So, the stored procedure in your personal library will not work. You may want to compile your program in Endevor that has the address space already defined. Don't forget, when you compile a stored procedure sometimes you or your DBA must re-cycle the address space in order to pick up the new version of your program.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us