DB TMPDIR

From Recital Documentation Wiki
Revision as of 09:38, 9 June 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Environment Variables / Symbols


Purpose

Used to specify the full path name of a directory or folder to be used by the SYS(3) function for temporary file creation


See Also

SET TMPDIR, SYS()


Description

The DB_TMPDIR environment variable / symbol is used to define a directory or folder that will be used by the SYS(3) function for temporary file creation. If DB_TMPDIR is not defined, SYS(3) returns a unique file name without path information. Defining DB_TMPDIR causes this directory to be included in the return value from SYS(3). Please note that the DB_TMPDIR should include a trailing directory separator.


Example

? getenv([DB_TMPDIR])
/usr/tmp/
? sys(3)
/usr/tmp/000cf30006


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer