View previous topic :: View next topic
|
Author |
Message |
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
How to debug cobol program in EXEC SQL CALL PGM END-EXEC using Xpediter ? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
Back to top |
|
|
|