Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
What is jBASE?
jBASE Architecture:
T24
USER
jBASE
UNIX
Directory Structure:
jBASE has a similar directory structure to that of Unix.
bin
lib
config
tmp
jspooler
:
:
:
:
:
contains
contains
contains
contains
contains
Environment Variables:
Some environment variables can only be set before jBASE initialization. The jBASE
initialization process reads the environment entries looking for possible variables
required by jBASE. Variables are usually configured in the .profile of the user login
directory. Some environment variables can be changed by subsequent program
execution. The state of these variables is imported back into the local environment
after program execution.
Setting/Getting Environment Variables:
variable=value
export variable
( export variable = value)
echo $variable
Initial Environment Variables:
JBCRELEASEDIR : jBASE installation directory
JBCGLOBALDIR : path of the jBASE config directory
PATH : Unix variable. Path of the executable files of Unix and jBASE
LIBPATH : jBASE lib directory path in AIX machine. (For HP, SHLIB_PATH and
for others, LD_LIBRARY_PATH)
JBCBASETMP : jBASE tmp directory
HOME : Users home directory
JEDIFILEPATH : Directory Paths of application files location
JEDIFILENAME_MD : path of the VOC file
JEDIFILENAME_SYSTEM : SYSTEM entry path
Execution level Environment Variables :
JBCOBJECTLIST : Set to alternate path(s) for user subroutine libraries
Development level Environment Variables :
JBCDEV_BIN : Set to alternate path(s) for catalog executables (Program dir)
JBCDEV_LIB : Set to alternate path(s) for catalog libraries (Subroutine dir)
Miscellaneous Environment Variables:
JBCSPOOLERDIR : jBASE spooler directory
JBCLISTFILE : path of the &SAVEDLISTS& directory that is used to store
select lists
VOC :
Means Vocabulary
Known as Master dictionary
Every jBASE file has 2 portions data portion and dict portion
Data portion : contains the records
Dict portion : contains the field names and definitions
jBASE supports 2 different types of files: Non-Hashed and Hashed
Non-Hashed files :
o Unix level directories
o Used to store programs
o Type = UD
Hashed files :
o Store and data randomly
o Improve performance
o Used for data and dict files
o Type = J3 or J4
o Have modulo, separation and secondary buffer
o Modulo number of frames, Separation size of a frame, Secondary
Buffer size of the secondary buffer (default size : 1 module size* 2)