/sys$common/syshlp/HELPLIB.HLB  —  Lexicals  F$GETENV
    Valid on Alpha systems only.

    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 Help