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
 

 

breakpoint before every CALL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Tue Jul 03, 2012 11:22 pm    Post subject: breakpoint before every CALL
Reply with quote

How do I set a breakpoint before every CALL statement in COBOL? Also which manual provides information about this? Thanks
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jul 04, 2012 1:13 am    Post subject: Reply to: breakpoint before every CALL
Reply with quote

What if you set the Breakpoint to the first line of executable code in the Called sub-program?

Is it the Caller you're concerned with or the Called sub-program?
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Wed Jul 04, 2012 1:35 am    Post subject:
Reply with quote

This still requires me to manually set the breakpoints one at a time. I am debugging a mainline program that calls a lot of subroutines. I want to execute the subroutine and then check the results immediately afterwards. There doesn't seem to be an easy way to do this.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jul 04, 2012 1:49 am    Post subject:
Reply with quote

xpeditor? intertest? debug tool?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Wed Jul 04, 2012 5:20 am    Post subject:
Reply with quote

Xpediter allows BEFORE ALL CALL but since you didn't tell us which product you are using, I'm not sure if that is relevant.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jul 04, 2012 7:20 am    Post subject:
Reply with quote

For xpeditor,
i wrote a rexx to scan thru a compiler listing,
that way I had the correct pg/ln
for my scripts containing
BEFORE and AFTER BREAK points.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Wed Jul 04, 2012 7:11 pm    Post subject:
Reply with quote

We have Xpediter/TSO 9.0

I might try the rexx idea and generate a script
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jul 04, 2012 7:22 pm    Post subject:
Reply with quote

another way:
when in source mode,
x all, find all "call",
A newline
A newline
A newline
A newline
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jul 04, 2012 10:52 pm    Post subject:
Reply with quote

B newline,
since they are for BEFORE breaks.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Jul 05, 2012 9:13 pm    Post subject:
Reply with quote

Robert:
Quote:
Xpediter allows BEFORE ALL CALL but since you didn't tell us which product you are using, I'm not sure if that is relevant.


Jerryte:
Quote:
We have Xpediter/TSO 9.0

I might try the rexx idea and generate a script


Huh?
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 Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm


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