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

How to use xpeditor to debug two programs


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Tue Aug 07, 2007 12:30 pm
Reply with quote

Hi,

I wish to debug a program using xpeditor however that program is also calling some another program.

Please let me know about the process through which i can animate both programs in a single xped. run.

Let me know in case of any issues.

Thanks and Regards
Saurabh Gupta.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 07, 2007 1:09 pm
Reply with quote

While xped'ng the main program, just do int submodule, when control goes to your submodule xped shows you the submodule for debugging.
Back to top
View user's profile Send private message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Tue Aug 07, 2007 1:17 pm
Reply with quote

Devzee wrote:
While xped'ng the main program, just do int submodule, when control goes to your submodule xped shows you the submodule for debugging.


Hi Dev,

Thanks for your quick response but being new to xpeditor, i didn;t get what you mean to say?

Do i need to give a command say "int <submodule name>" or you mean something else.

It will be a great help from your side if you can elaborate more on your reply.

Let me know in case of any issues.

Thanks and Regards
Saurabh Gupta
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 07, 2007 1:23 pm
Reply with quote

Quote:
need to give a command say "int <submodule name>"

YES
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Tue Aug 07, 2007 3:22 pm
Reply with quote

Hi Saurabh,

BTW, if you want to debug both programs (main and sub), you'll need to have the DDIO information for both programs.
Back to top
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 07, 2007 3:32 pm
Reply with quote

If you would take advantage of the PF1 (Help) info, it will explain to you how to use xpediter.

before you invoke the test, you can (in xpediter) edit both modules and set breakpoints which will automatically stop execution during your test at the desired point.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Recompiling programs after a copybook... COBOL Programming 1
No new posts Can you give me examples of programs ... CLIST & REXX 22
Search our Forums:

Back to Top