Well, your program could load a register from +21c and then you set a breakpoint there. The address will be in the register you used.
Lennie -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Joseph Reichman Sent: 23 March 2025 15:46 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Current TCB when running under TEST Hi I am sure this situaton that has happened to lots of people When one is running inder TEST and you entered TEST 'MY.USER.LOADLIB(MYPROG)' After hitting <enter> you are at location +0 Then you do L 21C.? pointing to the current TCB address that TCB is not the program being debugged TCB that is TEST's TCB correct The program being debugged TCB can be seen by doing a LISTTCB without any parameters My questions if all these are correct how do you get the program current TCB talking into consideration the program is running under test I looked at tcbback and it was 0's I looked at the next tcb tcbtcb at +74 and it was 0's Is there any way to get this address from a program when your program is running under TEST Thank you ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN