# JBCGLOBALDIR
Read Time: 1 minute(s)
Tags: jbcglobaldir directories global files
# Description
Defines the directory for jBASE global files.
# Values
Valid file path
# Default
On all jBASE releases prior to 5.8, the default is the same as JBCRELEASEDIR.
On jBASE 5.8 and later, with the introduction of user profiles, JBCGLOBALDIR will usually default to another location of the user's choosing, i.e. /opt/jbase5/global or UNIX, C:\jBASE\global on Windows.
# Setting
On UNIX it should be setup in the .profile.
On Windows it should be set before running any jBASE program.
# Note
JBCGLOBALDIR is the primary search directory for many jBASE elements (e.g. licensing, spooler, 'proc' directory, etc.). For all practical purposes, this variable retains certain dependencies with JBCRELEASEDIR, therefore it should not ever be set to a different location.
This will change with the advent of jBASE 5.8, where JBCGLOBALDIR can be a different location used to house information related to user profiles.
Go Back to Environment Variables