Conditional Expressions
Notes:
If one or more statements are included before a nested IF-THEN[-ELSE]-ENDIF structure, it is recommended that the preceding THEN or ELSE statement appear on a line by itself. In some older versions of VMS, this is a requirement.
For current and future versions of VMS, it is recommended that this guideline be observed to prevent your procedures from “breaking” due to a VMS upgrade, or due to being used on an older VMS version.