CDO$HELP.HLB  —  CDO Commands, CHANGE  RECORD Variants Change, Examples
  CDO>  CHANGE RECORD EMPLOYEE_RECORD.
  cont>   VARIANTS.
  cont>     VARIANT.
  cont>     END VARIANT.
  cont>     VARIANT.
  cont>     END VARIANT.
  cont>     VARIANT.
  cont>       DELETE RATE.
  cont>     END VARIANT.
  cont>   END VARIANTS.
  cont> END EMPLOYEE_REC RECORD.

      In this example, the keyword DELETE in the CHANGE RECORD
      command removes the RATE field definition from the
      EMPLOYEE_RECORD record definition. The CHANGE RECORD command
      does not affect the other two definitions in the variant
      definition.

      To indicate that the RATE field definition is in the third
      variant definition, you must use the Variants Change Clause
      as shown in this example. The keywords VARIANT and END VARIANT
      serve as placeholders for those variant definitions that you do
      not want to change.
Close Help