VMS Help
Lexicals, F$GETENV

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Returns the value of the specified console environment variable.

    Format

      F$GETENV(itmlst)

  1 - Return Value

    Returns the value of the specified console environment variable.
    You can modify the console environment variables when the system
    is in console mode. This lexical function allows you to read the
    contents of these variables when the system is running.

  2 - Arguments

 itmlst

    The defined console environment variable names are:

    Auto_action, Boot_dev, Bootdef_dev, Booted_dev, Boot_file,
    Booted_file, Boot_osflags, Booted_osflags, Boot_reset, Dump_dev,
    Enable_audit, License, Char_set, Language, Tty_dev

  3 - Example

  $ dump_device = f$getenv("dump_dev")
  $ write sys$output "The dump device for this system is ", dump_
 device

      This function writes out the dump device for the system.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.