_tlr Module
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Changes the default values of environment variables as defined in various scripts.
Syntax
|
|
The first syntax format processes one file at a time. The second processes a list of files read from a file.
- var-name
-
A constant character string that identifies the environment variable whose value you want to modify.
- replace-value
-
A constant character string that identifies the new default value of the environment variable.
- file-name
-
The name of the file in which you want to modify the default value of the environment variable.
- file-list
-
The name of a file containing a list of filenames in which you want to modify the value of the environment variable.
Example
Several of the
scripts provided with OpenEdge name the DLC environment
variable, as follows:
|
In this example, if the value of the DLC environment variable
has been defined, the script uses the value of that variable. Otherwise,
it uses /usr/dlc as the value of DLC.
To
change the default value of the DLC variable to /tmp/dlc in
a script named test.dat, use this command:
|
This command changes the environment variable line in test.dat from:
|
To:
|