The interpreter evaluates a configuration file, dmscript.cnf, in the following location:
UNIX
<install directory>/dmscript/configuration
Windows
The path to the configuration file (without the filename) is stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Unicenter ITRM\DMScript\DMSInterpreter\dmscriptConfigure.
The dmscript.cnf file has an INI file structure that contains a [DMSCRIPT] section. The DMSCRIPT section contains one defined entry, DMSI_INCLUDE, which defines the search path for includes. The search path is a list of directories separated by semicolons (;).
Search Paths
The script interpreter uses the script with an absolute path name. If the path name exists, the script is interpreted.
The relative access path is searched relative to the current directory. If not found, the file is searched relative to the directories mentioned in the environment variable PATH. If this fails too, Error 14 -- Cannot open script file- is launched.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|