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: 8135
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 ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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