CDDLHELP.HLB  —  Record definition, Example
  The  following  record  description  defines  the  dictionary  object
  SALARY_RECORD  in  the  sample  CDD hierarchy.  The field description
  statement for the record is SALARY STRUCTURE.

  DEFINE RECORD CDD$TOP.PERSONNEL.SERVICE.SALARY_RECORD.
      SALARY STRUCTURE.
          EMPLOYEE_ID          DATATYPE IS UNSIGNED NUMERIC
                               SIZE IS 9 DIGITS.
          PAY STRUCTURE.
              JOB_CLASS        DATATYPE IS UNSIGNED NUMERIC
                               SIZE IS 3 DIGITS.
              INCR_LEVEL       DATATYPE IS UNSIGNED NUMERIC
                               SIZE IS 1 DIGIT.
              WEEKLY_SALARY    DATATYPE IS UNSIGNED NUMERIC
                               SIZE IS 6 DIGITS 2 FRACTIONS.
          END PAY STRUCTURE.
      END SALARY STRUCTURE.
  END SALARY_RECORD RECORD.
Close Help