WHEN or OTHERWISE expected

Synopsis
This is an error in the way the REXX script is written. Some other REXX instruction appears where a WHEN or OTHERWISE would be expected to be found. You must use WHEN or OTHERWISE to begin each "possibility" of a SELECT clause.