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
 
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: 8189
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
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 4 Wed Nov 15, 2017 4:27 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

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