Contenta environment variables
This topic describes environment variables used with Contenta.
SDL sets default values for most Contenta environment variables. The variables are defined in the registry on Windows systems, and in the pdm.cshrc file on Linux systems.
The values are defined during installation or through the Contenta menu settings. You can also set them within your environment by entering a command from the system prompt or by editing the pdm.cshrc file (Linux) or the Windows' registry. While most Contenta environment variables are used on Windows, some variables apply only to Linux.
Do not make any changes in the Windows Registry unless you are thoroughly familiar with the registry, keys, and referenced files or paths. Incorrect modifications can adversely affect your system performance.
Cross-Platform Variables
- Linux Variables are defined in: Contenta_home/bin/pdm.cshrc
- Windows Variables are defined in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Contenta_home\3.0
The Contenta_home directory is the Contenta software’s home (top level) directory path.
| Variable | Description |
|---|---|
| $NLSPATH | The path for PDM message file location. This value usually does not need to be defined. |
| $XYE_API_REGISTRY_FILE | This environment variable helps you configure the path to API registry used by the Contenta Explorer. The default value is configured automatically. |
| $ORACLE_HOME | The directory in which Oracle products are installed. |
| $SYSTYPE | Defines the system type. This must be defined for the appropriate system type. |
| $XAPPLRESDIR | Defines the path to the Contenta resource file location. You only need to define this value if a private Contenta file is to be used. |
| $XYE_PRTL_DATABASE_SID | Oracle only Oracle database SID used by Contenta portal. |
| $XYE_PRTL_LOG_DIR | The path to directory where Contenta log files are stored. |
| $XYE_PRTL_SOCKET | The socket for Contenta portal communication (the PdmPortal number). |
| $XYV_PDM_DATA_DIR | The directory to which Contenta information is exported for use by encapsulators. Default: $HOME, the user’s home directory. |
| $XYE_PDM_DATABASE_SID | Oracle only The Oracle database SID for Contenta administration and tools. |
| $XYV_PDM_DBASE | The name of the Contenta database. The variable is used if the |
| $XYV_PDM_DBTYPE | The type of database: Oracle or MSSQL |
| $XYV_PDM_ENCAPS_DIR | The directory containing Contenta application interfaces. Default: $XYV_PDM_ROOT\encaps |
| $XYV_PDM_HELP | The path to Contenta help files. |
| $XYV_PDM_INDXTBLSPACE | Oracle only The default for the Contenta database index tablespace. |
| $XYV_PDM_LANGUAGE | English |
| $XYV_PDM_LOGFILE | The name of Contenta log file. Default: $XYV_PDM_ROOT\logs\dbname.log |
| $XYV_PDM_MOD_LBREAK | Optional Set this variable to prevent removal of line endings and white space in Module objects. To use, set variable to ASCII. For example, in Linux: |
| $XYV_PDM_NOCORE | Optional When set, Contenta does not create a core file in the event of a crash. |
| $XYV_PDM_ROOT | The path for the Contenta home directory (top level directory path of Contenta). |
| $XYV_PDM_PERL_BINDIR | Location of the Perl executables directory. Default: Perl_home\perl\bin |
| $XYV_PDM_PERL_DLLPATH | Location of the Perl DLL directory. Default: Perl_home\c\bin |
| $XYV_PDM_TBLSPACE | The default for the Contenta database tablespace. |
| $XYV_PDM_TMPTBLSPACE | The default for the Contenta database temporary tablespace. |
Windows Variables
Pcmadmin and other Contenta command utilities use values that are stored in the Registry under the path:
HKEY_LOCAL_MACHINE > Contenta > 3.0
These values are established during the installation of Contenta software. The following table describes the registry settings for configurations using an Oracle database server on Windows systems.
| Variable | Description |
|---|---|
| ORACLE_HOME | Oracle Installation Directory |
| MSSQL_HOME | The directory in which Microsoft SQL Server products are installed. |
| SYSTYPE | System Type (WINNT) |
| XYV_PDM_DATABASE | database name |
XYV_PDM_DBTYPE | Database Type (Oracle) |
XYV_PDM_ENCAPS_DIR | Directory containing Application Interface (AI) Programs (Contenta /encaps directory) |
XYV_PDM_HELP | Directory containing on-line help files |
XYV_PDM_INDXTBLSPACE | Oracle table space for indexes. |
XYV_PDM_LANGUAGE | System Language (English) |
XYV_PDM_LOGFILE | Name of the log file |
XYV_PDM_ROOT | Contenta installation directory |
XYV_PDM_TABLESPACE | Oracle table space for application data |
XYV_PDM_TMPTBLSPACE | Oracle temporary table space |