Keyword DIM is not allowed for the type of external subfield.
20
Cause . . . . . : Keyword DIM is not allowed for an externally described data structure subfield of type character varying, graphic varying, UCS-2 varying, date, time, or timestamp. The keyword is ignored.