CDDLHELP.HLB  —  NAME  Example
  The following example provides a VAX COBOL name and a VAX RPG II name
  for  the  ORDER_NUMBER  field.  Because of the NAME clause, VAX COBOL
  recognizes the field only by the name ORDER-NUMBER, and  VAX  RPG  II
  recognizes the field only by the name ORDER#.

  ORDER_NUMBER        DATATYPE IS UNSIGNED NUMERIC
                      SIZE IS 10 DIGITS
                      NAME FOR COBOL IS "ORDER-NUMBER".
                      NAME FOR RPG IS "ORDER#".

  1 OCCURS

  The   OCCURS   field   attribute   clause   declares    fixed-length,
  one-dimensional arrays.
Close Help