How can I use STRISDB and STRDBG at the same time?
Page 1 of 1
How can I use STRISDB and STRDBG at the same time?
You can't actually use the STRDBG command when the STRISDB command is active (or vice versa) because either command puts you in debug mode and neither command is allowed when the job is already in debug mode (or service mode). I've never had any success at debugging OPM programs with STRDBG so I found this technique that allows you to activate the ILE debugger while STRISDB is active.
1) Start STRISDB normally.
2) Press F21 to get a command line.
3) Enter the DSPMODSRC command. This command is part of the ILE debugger.
4) Press F14 to bring up the Work with Module List display.
5) Use option 1 to add one or more ILE programs to the list.
6) Use option 5 to display the module source of the module where you first want the ILE debugger to kick in.
7) Set a breakpoint where you first want the ILE debugger to kick in. (Unlike when you are using STRDBG, pressing F10 will NOT cause the debugger to kick in when the program is called; you MUST set a breakpoint.)
If needed, use F14 to bring the Work with Module List back up and set breakpoints in other modules.
9) Press F12 to get back to the command line. Press F12 to get back to STRISDB.
10) Repeat steps 2 through 9 as needed to add and remove programs and breakpoints.
When STRISDB ends, the ILE debugger will be ended as well.
1) Start STRISDB normally.
2) Press F21 to get a command line.
3) Enter the DSPMODSRC command. This command is part of the ILE debugger.
4) Press F14 to bring up the Work with Module List display.
5) Use option 1 to add one or more ILE programs to the list.
6) Use option 5 to display the module source of the module where you first want the ILE debugger to kick in.
7) Set a breakpoint where you first want the ILE debugger to kick in. (Unlike when you are using STRDBG, pressing F10 will NOT cause the debugger to kick in when the program is called; you MUST set a breakpoint.)
If needed, use F14 to bring the Work with Module List back up and set breakpoints in other modules.
9) Press F12 to get back to the command line. Press F12 to get back to STRISDB.
10) Repeat steps 2 through 9 as needed to add and remove programs and breakpoints.
When STRISDB ends, the ILE debugger will be ended as well.
Similar topics
» When we debug using STRISDB, Debug screen is not opening instead we get the error screen.
» ALL ABOUT DATE /TIME / TIMESTAMP - 1
» Last IPL date & time
» How to restrict only one Batch Job Run at a Time?
» PGM to display last IPL date & Time
» ALL ABOUT DATE /TIME / TIMESTAMP - 1
» Last IPL date & time
» How to restrict only one Batch Job Run at a Time?
» PGM to display last IPL date & Time
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|