IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Debug cobol program in EXEC SQL CALL PGM using Xpediter


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shankar.v

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Wed Dec 29, 2010 4:35 pm
Reply with quote

How to debug cobol program in EXEC SQL CALL PGM END-EXEC using Xpediter ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 29, 2010 4:45 pm
Reply with quote

I'm not very sure but are you asking, "how to debug a Stored-procedure, called by a COBOL program" using xped?
Back to top
View user's profile Send private message
shankar.v

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Wed Dec 29, 2010 8:00 pm
Reply with quote

Let us assume a cobol program as follows:

How to debug PGMB which is called in EXEC SQL which is a stored procedure written in cobol language ?.
How to intercept PGMB in xpediter as EXEC SQL are replaced by DB2 call statements ?.

Code:
ID DIVISION.
PROGRAM-ID. PGMA.
.
.
.
PROCEDURE DIVISION.
.
.
.
    EXEC SQL
        CALL PGMB ...
    END-EXEC
.
.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8612
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 29, 2010 8:13 pm
Reply with quote

Have you searched the Xpediter COBOL User's Guide manual, and specifically reviewed Appendix I which has the title "Debugging a Client Application and DB2 Stored Procedure"? If not, I recommend you find your site's copy of this manual and start reading. Furthermore, the Index has about 100 (I didn't count the exact number but there's more than 2 screens of them) references to DB2 and EXEC SQL in various sections of this manual.

If you cannot locate a copy of the manual, contact your site support group and get their assistance in getting to the Compuware support web site where you can download a copy of the manual -- or even look at it online.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 29, 2010 8:20 pm
Reply with quote

Also, a possible hint is here in this thread: ibmmainframes.com/about26805.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Assembler: Set Program Mask for decim... PL/I & Assembler 4
No new posts Search substring in internal table of... COBOL Programming 2
No new posts TSO WHOIS Command in JCL Program JCL & VSAM 5
Search our Forums:

Back to Top