Updated: 10/28/2020, 12:05:40 PM
Created: 10/28/2020, 12:05:40 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)
Tags: environment variables
jBASE programs make use of a work file for various internal functions such as storing SAVE-LISTs, the lock file for PAUSE and WAKE statements, and very transiently for some spooler operations. The default name and location of this file may be changed using the JBCBASETMP environment variable. The default behavior is that jBASE uses one work file called jBASEWORK for all sessions. However as the file is not used to share data between sessions, one file could be configured for each user. Doing so may provide some performance benefits, especially with large user populations.
If the specified file does not exist when jBASE attempts to open it, it is created as a j4 hashed file with a modulo of 97. As the data in the file is of a transitory nature, the flags for backup, journaling and transaction boundaries are set to NO. A dictionary is also created. It is not used by jBASE and can be deleted if desired.
This environment variable is superceeded by JBASEUNIQUE.
Valid file path.
$JBCRELEASEDIR/tmp/jBASEWORK (UNOX) %JBCRELEASEDIR\tmp\jBASEWORK (Windows)
As per normal environment variable, it should be set before any jBASE process is invoked.
JBCBASETMP=/home/tmp/jwork$LOGNAME export JBCBASETMP
Go Back to Environment Variables