MFPLI00030S A FORMAT, ENTRY, PROCEDURE, END, DECLARE, or DEFAULT statement appears in a context that requires an executable single statement, DO group, or BEGIN block.

The context requires a single executable statement, for example, in a THEN, ELSE or WHEN clause.
Resolution:
Put the statements in a DO group or BEGIN block.
Module:
PASS1.PL1