MFPLI00165S "insert-name" is declared as TYPE but its TYPE reference "insert-name" contains a REFER option which refers to a variable outside of itself. All REFER options in a type definition can refer only to other members within the definition.

Module:
EXPTYP.PL1