Difference between revisions of "DB TMPDIR"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
− | Used to specify | + | Used to specify a directory to be used for temporary file creation |
==See Also== | ==See Also== | ||
− | [[SET TMPDIR]], [[SYS()]] | + | [[SET TMPDIR]], [[SET TMPNAMPATH]], [[SYS()]], [[TMPNAM()]] |
==Description== | ==Description== | ||
− | The DB_TMPDIR environment variable | + | The DB_TMPDIR environment variable is used to define a directory for temporary file creation. If [[SET TMPNAMPATH]] is ON (default), SYS(3) and TMPNAM() temporary files will include the full path name of this directory in the values returned. |
+ | |||
+ | Please note that the DB_TMPDIR value should include a trailing directory separator. Also, please note that the DB_TMPDIR environment variable is only read at the start of the Recital session, to change the temporary file directory during a session, the SET TMPDIR command should be used. | ||
Line 27: | Line 22: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Configuration]] | [[Category:Configuration]] | ||
[[Category:Environment Variables|TMPDIR]] | [[Category:Environment Variables|TMPDIR]] |
Latest revision as of 09:47, 27 July 2011
Contents
Purpose
Used to specify a directory to be used for temporary file creation
See Also
SET TMPDIR, SET TMPNAMPATH, SYS(), TMPNAM()
Description
The DB_TMPDIR environment variable is used to define a directory for temporary file creation. If SET TMPNAMPATH is ON (default), SYS(3) and TMPNAM() temporary files will include the full path name of this directory in the values returned.
Please note that the DB_TMPDIR value should include a trailing directory separator. Also, please note that the DB_TMPDIR environment variable is only read at the start of the Recital session, to change the temporary file directory during a session, the SET TMPDIR command should be used.
Example
? getenv([DB_TMPDIR]) /usr/tmp/ ? sys(3) /usr/tmp/000cf30006
Products
Recital, Recital Server