AVZ1010I ERROR 10 process program, LINE lineno: UNEXPECTED OR UNMATCHED END
Explanation
Either there are more ENDs in the program than DOs and SELECTS or the ENDs are wrongly placed so they do not match the DOs and SELECTs. It may be useful to use trace scan to show the structure of the program; hence, making it more obvious where the error is. A common mistake that causes this error is attempting to jump into the middle loop using the SIGNAL instruction. This error will also be generated if an END immediately follows a THEN or an ELSE.
process may be "compiling" or "running"
User response
Examine the line in error, and correct the REXX program.