IBM Books

Image, Audio, and Video Extenders Administration and Programming

Setting environment variables in OS/2 servers and clients

In OS/2, the environment variables are added to your CONFIG.SYS file and automatically set during installation.

If you install the DB2 Extenders in an OS/2 server, the server environment variables are set as follows:

SET DB2MMPATH=install-dir\SAMPLES;temp-file-dir
SET DB2MMSTORE=temp-file-dir
SET DB2MMEXPORT=temp-file-dir
SET DB2MMTEMP=temp-file-dir

where install-dir is the installation directory and temp-file-dir is the temporary file directory. The default installation directory is C:\DMB, and the default temporary file directory is C:\DMB\TMP. You can change the location of either directory during installation. It is important that you correctly specify the location of the temporary file directory.

The environment variables for the server are initially set to values that allow you to access the media files that are used in the sample programs that are distributed with the DB2 Extenders. (See Appendix B, Sample programs and media files for information about the sample programs and media files.)

If you install the DB Extenders in an OS/2 client, the client environment variables are set as follows:

SET DB2MMPATH=temp-file-dir
SET DB2MMTEMP=temp-file-dir

Use the SET command to reset the environment variables. You can specify multiple directories, separated by a delimiter, for the environment variables that end in PATH. The environment variables that end in STORE, EXPORT, and TEMP are set with one directory only.

Use the SET command to specify the appropriate image display, audio player, and video player programs in the DB2IMAGEBROWSER, DB2AUDIOPLAYER, and DB2VIDEOPLAYER client environment variables, respectively.

Specify the SET command as follows:

SET env-var=directory

for example,

SET DB2MMPATH=C:\DMB\SAMPLES;\D:\MEDIA
SET DB2IMAGEPATH=C:\EMPLOYEE\PICTURES;D:\IMAGES
SET DB2AUDIOSTORE=C:\EMPLOYEE\SOUNDS
SET DB2IMAGEBROWSER=ib.exe %s


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]