To display the options available in the extended program check, choose Program ® Check ® Extended prog. check.

By default, all the options are set. To get information about a particular option, select the option and press F1.
An extended program check takes much longer than the other checks. However, it does use a cache, so once you have run one extended program check, subsequent checks do not take as long.
When an extended check is complete, the system returns a table of the errors, warnings, and messages it found. For each option you selected within the check, the system lists the number of errors, warnings, and messages. Double-clicking on an entry in the table results in a detailed display of the errors found:

You can use the detailed display to navigate to errors in your program. The detailed display includes the line number where an error appeared. If you double-click on this line number, the system displays that line in your code.
You can also display the errors as a simple list by selecting Display check results as a simple list on the initial screen of the extended program check. The simple list is a compilation of all the detailed results from each check option. It is a good idea to choose the simple list option if you want to print a list of errors.
Suppressing Fields
You can exempt specific lines from an extended program check using pseudo-comments. Pseudo-comments mark sections of code as suppressed. By default, the extended check ignores suppressed code. You can use any of the following pseudo-comments:
Comment |
Function: |
"#EC |
Excludes a line from the check. For example: BREAK-POINT "#EC * |
"#EC NOTEXT |
Used with strings. The check ignores that no text element has been defined. WRITE ‘Hugo’. "#EC NOTEXT |
"#EC CALLED |
Used with FORMs The system ignores the fact that there is no PERFORM statement for a FORM call. For example: FORM AB. "#EC CALLEDENDFORM: |
You can include code flagged with pseudocomments in the extended program check by selecting Also include suppressed errors on the initial screen of the extended program check.