INQUIRE

From VSI OpenVMS Wiki
Revision as of 15:30, 2 December 2019 by Jane.doe (talk | contribs) (Created page with "'''INQUIRE''' is a DCL command that reads a value from SYS$COMMAND (usually the terminal ininteractive mode or the next line in the main command procedure)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

INQUIRE is a DCL command that reads a value from SYS$COMMAND (usually the terminal ininteractive mode or the next line in the main command procedure) and assigns it to a symbol.

Syntax

INQUIRE  symbol-name [prompt-string]

Symbol Name

The symbol that will hold the value from SYS$COMMAND.

Prompt String

The string that will appear on the screen to prompt the user for input. If nothing is specified, the symbol name will be displayed. Unless /NOPUNCTUATION is added, ": " will be added to the prompt string or the symbol name displayed as the prompt string.

Qualifiers

  • /GLOBAL specifies that the symbol should be placed in the global symbol table.
  • /LOCAL specifies that the symbol should be placed in the local symbol table.
  • /PUNCTUATION specifies that ": " should be added after the prompt string (default). /NOPUNCTUATION disables that behavior.

[[Category:DCL Commands]