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

How 3rd Party products do things.


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Jun 30, 2009 3:23 am
Reply with quote

I found this on another site, and thought it would be useful info:
a post by Jim Moore:

The answer was to a question about how xpeditor does something.

Quote:
I am really, really rusty at this but whenever I got curious about ISPF-based vendor products and how they were "doing things", I used to do something like this:

1) Go to option 7.8 and set a bunch of breakpoints.
2) TBCREATE, TBMOD, TBADD, etc - [Remember, 3rd parties have to abide by the documented ISPF API. They can't pull some of the stuff that IBM does in ISPF - no offense intended, IBM!]
3) Jump to 7.1 and invoke ISPF by typing in the PANEL=> field: ISR@PRIM [You might have to use an appl-id of ISP or ISR, I forget]
4) Navigate to XPED [or wherever] as usual.

If a breakpoint kicks in, you can use any of the options at Option 7 - Dialog Test - to examine things like pool variables and tables. You can even set/deactivate/qualify breakpoints.

If no breakpoint kicks in on the first try, set a breakpoint for VDEFINE, VCOPY and VREPLACE and try it again. If their ISPF code is assembled/compiled, they have to be using these.

If you can get a look at any addresses in Option 7.3 [maybe], try using the BROWSE sub-command of DDLIST [ISRDDN] to examine memory at a breakpoint.
__________________
JB Moore
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 30, 2009 11:29 am
Reply with quote

Nice link, thanks Dick.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts Top Version control/Change managment ... All Other Mainframe Topics 14
No new posts Things to Avoid while writing cobol p... COBOL Programming 3
No new posts Debugging CICS w/o any third party tools ABENDS & Debugging 0
No new posts Nestings, IFs and other things COBOL Programming 21
Search our Forums:

Back to Top