O2F-00309: Name of user-defined type is illegal or missing Cause: The name of a user-defined type is expected following the keyword TYPE at the beginning of a type specification. No legal type name was seen. Action: Make sure that the type specification is syntactically correct, and that the type name is spelled correctly.