A statement view does not contain any CL source data. However, breakpoints can be added by using procedure names and statement numbers found in the compiler listing.
To debug an ILE CL module object using a statement view, you need a copy of the compiler listing.
To debug an ILE CL module object by using a statement view, use the *STMT, *SOURCE, *LIST, or *ALL option on the DBGVIEW parameter for either the Create CL Module (CRTCLMOD) or Create Bound CL (CRTBNDCL) commands when you create the module.
One way to create a statement view is as follows:
CRTCLMOD
MODULE(MYLIB/MYPGM) SRCFILE(MYLIB/QLSRC) SRCMBR(MYPGM) TEXT('CL Program')
DBGVIEW(*STMT)