Substitute with another record entry

You can substitute one record entry with another but, the Record entries must be of the same type. They both must be LONG or SHORT or CHAR.

SUBSTITUTION=(#7,#14),KEYS((#14,OPTR1.#1),(#7,OPTR1.#2)),NFA(SKIP)

Record entry 7 is substituted with Record entry 14 - if the expression matches. Otherwise Record entry 7 is handled normally.