HP OpenVMS DCL Dictionary


Previous Contents Index

F$GETENV

Returns the value of the specified console environment variable.

Format

F$GETENV (itmlst)

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.

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


Description

Returns the value(s) of the specified console environment variable(s).

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.


Previous Next Contents Index