[next] [previous] [contents]

  DEFROT

  Define a checked root logical name.

  Format

  DEFROT logical-name required-flag equivalence-name

  Parameters
  logical-name

  Specifies the logical name string. The logical name string
  can contain from 1 to 255 characters. By default, the logi-
  cal name is placed in the application logical name table. The
  string may contain any characters that constitute a valid
  logical name.

  required-flag
  Indicates whether to check for existance of the device, direc-
  tory specified by the equivalence-name, and what behaviour
  to take if its is not found.
  If the equivalence-name is a device or directory, its existance
  is always checked. A NO indicates that if the device or di-
  rectory does not exist, the logical name should not be defined.
  A YES indicates that if it does not exist, an error should be
  reported and no logical name defined.

  equivalence-name
  Defines the equivalence name to be associated with the log-
  ical name. Only valid device and/or directory paths should
  be specified. The resultant equivalence after parsing will be
  given the concealed and terminal translation attributes to
  make it a rooted logical name.

  Examples
  1.

        $ DEFROT FIN_SRC_ROOT YES DISK_APPL:[FIN.SRC]