Debug at the machine interface level

You can debug your programs at the machine interface (MI) level.

To debug your programs at the machine interface (MI) level, you can specify an MI object definition vector (ODV) number for the PGMVAR parameter of a command and MI instruction numbers for the STMT parameter of a command. For a breakpoint, the system stops at the MI instruction number just as it would at an HLL statement number. You must always precede the ODV or MI instruction number with a slash (/) and enclose it in apostrophes (for example, '/1A') to signal to the system that you are debugging at the MI level.

The ODV and MI instruction numbers can be obtained from the IRP listing produced by most high-level language compilers. Use the *LIST value of the GENOPT parameter to produce the IRP listing at program creation time.
Note: When you debug at the machine interface level, only the characteristics that are defined at the machine interface level are available; the HLL characteristics that are normally passed to the test environment are not available. These HLL characteristics may include: the variable type, number of fractional digits, length, and array information. For example, a numeric variable in your HLL program may be displayed without the correct decimal alignment or possibly as a character string.
Related tasks
Add traces to programs