Natural for Mainframes Version 8.2.6 for Mainframes
 —  Parameter Reference  —

PECK - PCHECK/ECHECK Error Processing

This Natural profile parameter controls whether a compilation check with the ECHECK or PCHECK option of the COMPOPT system command (see the System Commands documentation) terminates after a syntax error is detected in the object source. In addition, PECK determines how the syntax errors are reported.

Possible settings S Stops when the first syntax error is detected. The cursor is placed in the line that contains the error and the respective error (for example, NAT0935) is issued.
WS Same as S above, but additionally clears the message buffer when the compilation starts.
F Scans the entire object and places all errors on a stack. The cursor is placed in the line where the first error is detected.

If several errors occur in the same line, a Natural error message appears in this line indicating that inconsistencies were found during the PCHECK/ECHECK validation.

If several errors occur in different lines, the above Natural error message appears in the first line.

All errors accumulated on the stack are listed after the scan is complete.

WF Same as F above, but additionally clears the message buffer when the compilation starts.
WL Same as L below, but additionally clears the message buffer when the compilation starts.
Default setting L Scans the entire object and places all errors on a stack. The cursor is placed in the line where the last error is detected.

If several errors occur in the same line, a Natural error message appears in this line indicating that inconsistencies were found during the PCHECK/ECHECK validation.

If several errors occur in different lines, the above Natural error message appears in the last line.

All errors accumulated on the stack are listed after the scan is complete.

Dynamic specification yes  
Specification within session no  

Top of page