The COMPILE STATUS command displays the sequence number and number of errors detected for a compiler task.
Syntax

Explanation
The mix number displays the sequence number of the source record being processed by the compiler, as well as the number of syntax errors detected. The mix number must designate a compiler task.
Examples
Example 1
This example shows the sequence number and reports that no errors were detected:
4537
SEQ = 98942000, NO ERRORS
Example 2
This example shows the sequence number and reports that three errors were detected:
3621
SEQ = 606140, ERRORCOUNT = 3