Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Debug cobol program in EXEC SQL CALL PGM using Xpediter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Debug cobol program in EXEC SQL CALL PGM using Xpediter
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

Senior Member


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

PostPosted: Wed Dec 29, 2010 4:45 pm    Post subject:
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    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 29, 2010 8:13 pm    Post subject:
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

Senior Member


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

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

Also, a possible hint is here in this thread: http://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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us