Progress
Developer’s Toolkit
_tlr Module
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.
PARAMETERS AND QUALIFIERS
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 Progress and the Toolkit 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 namedtest.dat
, use this command:
This command changes the environment variable line in
test.dat
from:
to:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |