VMS Help  —  DELETE  /SYMBOL
    Deletes one or all symbol definitions from a local or global
    symbol table. The /SYMBOL qualifier is required.

    Format

      DELETE/SYMBOL  [symbol-name]

1  –  Parameter

 symbol-name

    Specifies the name of the symbol to be deleted. A name is
    required unless the /ALL qualifier is specified. The symbol-name
    parameter is incompatible with the /ALL qualifier. Symbol names
    can have from 1 to 255 characters. By default, the DELETE/SYMBOL
    command assumes that the symbol is in the local symbol table for
    the current command procedure.

2  –  Qualifiers

2.1    /ALL

    Deletes all symbols from the specified table. If you do not
    specify either the /LOCAL or the /GLOBAL qualifier, all symbols
    defined at the current command level are deleted. The /ALL
    qualifier is incompatible with the symbol-name parameter.

2.2    /GLOBAL

    Deletes the symbol from the global symbol table of the current
    process.

2.3    /LOCAL

       /LOCAL (default)

    Deletes the symbol from the local symbol table of the current
    process.

2.4    /LOG

       /LOG
       /NOLOG (default)

    Controls whether an informational message listing each symbol
    being deleted is displayed.

3  –  Examples

    1.$ DELETE/SYMBOL/ALL

      In this example, the DELETE/SYMBOL command deletes all symbol
      definitions at the current command level.

    2.$ DELETE/SYMBOL/LOG KUDOS
      %DCL-I-DELSYM, LOCAL symbol KUDOS has been deleted

      In this example, the DELETE/SYMBOL command deletes the symbol
      KUDOS from the local symbol table for the current process. In
      addition, the /LOG qualifier causes an informational message,
      listing the symbol being deleted, to be displayed.

    3.$ DELETE/SYMBOL/GLOBAL PDEL

      In this example, the DELETE/SYMBOL command deletes the symbol
      named PDEL from the global symbol table for the current
      process.
Close Help