After you start a debug session, you can set or change the following debug options:
Changing the debug options using the SET debug command affects the value for the corresponding parameter, if any, specified on the STRDBG command. You can also use the Change Debug (CHGDBG) command to set debug options. However, the OPMSRC option can not be changed by the CHGDBG command. OPMSRC can only be changed by the debug SET command.
Suppose you are in a debug session working with an ILE program and you decide you should also debug an OPM program that has debug data available. To enable the ILE source to accept OPM programs, follow these steps:
DSPMODSRC
The Display Module Source display appears.
SET
You can now add the OPM program, either by using the Work with Module display, or by processing a call statement to that program.