CDDLHELP.HLB  —  CONDITION_NAME, Usage Notes
   o  Only VAX COBOL supports this feature.  Other language  processors
      ignore the CONDITION NAME clause.

   o  Each CONDITION NAME clause  defines  one  condition  name.   Each
      condition name can represent a discrete value, a range of values,
      or any combination of these.

   o  You can use the CONDITION NAME clause as many times as  you  wish
      within a field description.

   o  The values low_val and high_val must be legal values  as  defined
      by the data type declared for the field.

   o  The length of a literal you specify in a  CONDITION  NAME  clause
      can not exceed the length declared for the field.

   o  You can specify a fixed point number as the value  of  any  field
      whose   valid   VAX  COBOL  data  type  is  not  DATE,  TEXT,  or
      UNSPECIFIED.

   o  You can specify a floating point number as the value of  a  field
      whose   valid   VAX  COBOL  data  type  is  not  DATE,  TEXT,  or
      UNSPECIFIED.

   o  You can specify a quoted string as the  value  only  of  a  field
      whose valid VAX COBOL data type is DATE, TEXT, or UNSPECIFIED.

   o  You can use 8-bit characters in CDDL quoted strings.

   o  You can specify an octal number as the value  of  any  valid  VAX
      COBOL  data  type.   In  order  to specify an octal number, place
      single quotation marks (') around the number and precede it  with
      %O; for example,

      VALUE IS %O'16'

   o  You can specify a hexadecimal number as the value  of  any  valid
      VAX  COBOL  data type.  In order to specify a hexadecimal number,
      place single quotation marks (') around it and  precede  it  with
      %X; for example,

      VALUE IS %X'3E'

   o  Value n2 must be greater than or equal to value n1 in the field's
      collating sequence.

   o  Value n4 must be greater than or equal to value n3 in the field's
      collating sequence.
Close Help