MFPLI00170S "insert-name" is declared as TYPE(x), but the declaration of "x" (or one of its members) contains an invalid REFER option. The REFER option refers to a variable which is not contained within same level-1 STRUCTURE as "x".

Resolution:
Try using a fully qualified reference in the REFER option in the declaration of "x".
Module:
EXPTYP.PL1