DBTEMP

Defines the directory for temporary files.

The DBTEMP environment variable defines the directory for temporary files created by the runtime system.

Important: The DBTEMP environment variable is also used by the IBM® Informix® database client and server for temporary files.

This environment variable is use to create temporary files for:

  1. TEXT or BYTE data located in a temporary file (LOCATE IN FILE without file name specification).
  2. Temporary files of emulated scrollable cursors when the database engine does not support this feature.
  3. Temporary file name generation with os.Path.makeTempName().
  4. Temporary files created by the Web Services API, such as com.HTTPResponse.getFileResponse.

On mobile devices, do not set DBTEMP environment variable: The runtime system will automatically use the appriopriate temporary directory withing the app sandbox file system.