/sys$common/syshlp/HELPLIB.HLB  —  DEASSIGN  Examples
    1.$ DEASSIGN MEMO

      The DEASSIGN command in this example deassigns the process
      logical name MEMO.

    2.$ DEASSIGN/ALL

      The DEASSIGN command in this example deassigns all process
      logical names that were created in user and supervisor mode.
      This command does not, however, delete the names that were
      placed in the process logical name table in executive mode by
      the command interpreter (for example, SYS$INPUT, SYS$OUTPUT,
      SYS$ERROR, SYS$DISK, and SYS$COMMAND).

    3.$ DEASSIGN/TABLE=LNM$PROCESS_DIRECTORY TAX

      The DEASSIGN command in this example deletes the logical name
      table TAX, and any descendant tables. When you delete a logical
      name table, you must specify either the /TABLE=LNM$PROCESS_
      DIRECTORY or the /TABLE=LNM$SYSTEM_DIRECTORY qualifier, because
      the names of all tables are contained in these directories.

    4.$ ASSIGN USER_DISK:   COPY
      $ SHOW LOGICAL COPY
         "COPY" = "USER_DISK:" (LNM$PROCESS_TABLE)
      $ DEASSIGN COPY

      The ASSIGN command in this example equates the logical name
      COPY with the device USER_DISK and places the names in the
      process logical name table. The DEASSIGN command deletes the
      logical name.

    5.$ DEFINE SWITCH:  TEMP
      $ DEASSIGN SWITCH::

      The DEFINE command in this example places the logical name
      SWITCH: in the process logical name table. The trailing
      colon is retained as part of the logical name. Two colons
      are required on the DEASSIGN command to delete this logical
      name because the DEASSIGN command removes one trailing colon,
      and the other colon is needed to match the characters in the
      logical name.

    6.$ ASSIGN/TABLE=LNM$GROUP DKA1: GROUP_DISK
      $ DEASSIGN/PROCESS/GROUP GROUP_DISK

      The ASSIGN command in this example places the logical name
      GROUP_DISK in the group logical name table. The DEASSIGN
      command specifies conflicting qualifiers; because the /GROUP
      qualifier is last, the name is successfully deassigned.

    7.$ ASSIGN DALLAS::USER_DISK:   DATA
         .
         .
         .
      $ DEASSIGN DATA

      The ASSIGN command in this example associates the logical name
      DATA with the device specification USER_DISK on remote node
      DALLAS. Subsequent references to the logical name DATA result
      in references to the disk on the remote node. The DEASSIGN
      command cancels the logical name assignment.
Close Help