IBM Debug Tool 8.1 in CICS

2008-11-07 Thread Paul Peplinski
IBM claims this works as designed - for better or worse

We have cases where we need to debug "other user" transactions, essentially
a transaction running under an id other than the person debugging. This
could be something coming in MQ, Web, non-terminal, etc.)

Whenever this happens , the key files (SAVESETS and SAVEBPS) that Debug Tool
wants to use are those of the debugged transaction. This means creating
potentially hundreds of files or somehow pointing that debug session back to
the debugger's files. It seems like the USE command should work but it
doesn't seem to. Has anyone else come up with a workable solution? 

Paul P

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: IBM Debug Tool 8.1 in CICS

2008-11-10 Thread George Young

Paul Peplinski wrote:

IBM claims this works as designed - for better or worse

We have cases where we need to debug "other user" transactions, essentially
a transaction running under an id other than the person debugging. This
could be something coming in MQ, Web, non-terminal, etc.)

Whenever this happens , the key files (SAVESETS and SAVEBPS) that Debug Tool
wants to use are those of the debugged transaction. This means creating
potentially hundreds of files or somehow pointing that debug session back to
the debugger's files. It seems like the USE command should work but it
doesn't seem to. Has anyone else come up with a workable solution? 


Paul P

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Try putting these commands in an recfm(FB) lrecl(80) dsn  (with a 
leading blank on each line)


 SET SAVE SETTINGS AUTO FILE userid.DBGTOOL.SAVESETS;
 SET SAVE BPS AUTO FILE userid.DBGTOOL.SAVEBPS;
 RESTORE SETTINGS;
 RESTORE BPS MONITORS;
 SET RESTORE SETTINGS NOAUTO;
 SET RESTORE BPS NOAUTO;
 SET RESTORE MONITORS NOAUTO;

and then specify that dsn (fully qualfied, no quotes) in the DTCN field 
for a preference file (which is on the PF9 options panel in DTCN).   Set 
userid to the HLQ you want to use for the 2 datasets.


This will manually restore on entry, and automatically save on exit, 
with you controlling the dataset name names.


I think an additional restriction is that these commands need to be the 
1st thing in the preference file, and there can't have been any fiddling 
with these settings in a global preference file.


If the same user is using the save settings dataset for other types of 
stuff (TSO, batch, their own transactions under CICS), then probably you 
should use some unique dataset names for these 2 datasets so as to not 
override normal use of the 2 data sets.


George

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html