AVZ1007I ERROR 7 process program, LINE lineno: WHEN OR OTHERWISE EXPECTED

Explanation

Within a SELECT construct, at least one WHEN construct (and possibly an OTHERWISE clause) is expected. If any other instruction is found (or no WHEN construct is found before OTHERWISE), then this message results. This is commonly caused by forgetting the DO and END around the list of instructions following a WHEN.

process may be "compiling" or "running"

User response

Examine the REXX program, and correct the error.