<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_type_len(self):
 """Retrieve the type and length for a data record."""

        # Check types and set type/len
        self.get_sql()
        return self.type, self.len, self.len_decimal