DEF - Environment Variables#
Some parameters of the SOFiSTiK programs can be influenced by means of environment variables. The supported set of environment variables is listed at the end of this section. Primarily, environment variables can be used to affect:
Settings for layout (paper size, output language etc.)
Parameters for the database CDBASE (buffer, multitasking etc.)
Standard input records
The environment variables may be set using classical commands of the respective operating system, e.g.:
Windows Desktop / Windows Explorer My Computer Properties Extended
Windows CMD
SET parameter=<value>
It is recommended, however, to gather these parameters in one configuration file named
SOFISTIK.DEF
, which can also be provided project-specific. In this file all variables for
SOFiSTiK Environment as well as any definitions of input blocks can be stored:
e.g.
SOFISTIK_C=49
GRAFSIZE=SIZE -HP 0
HEAD1=New HQ of Xyz-Insurance-Company
CDBASEVER=503
The definition of the input file has priority. Then comes the definition in the environment of
the operating system, and at last a definition in SOFISTIK.DEF
. If
for different projects different properties are requested,
it is recommended to save the SOFiSTiK.DEF
file in the project
directory. This should be done when editing with:
TEDDY or via SSD
FILE Ribbon
‘’Project Options’’
Then select Edit File sofistik.def.
The following table contains the currently used values:
HEAD#
Variable: |
|
---|---|
Parameter: |
First header line, Second header line, Third header line |
SOFISTIK_PRODIR#
Variable: |
|
---|---|
Parameter: |
Alternate directory for the database project files. Can be used only in TEDDY workflow! Saves all project files without explicit pathname. |
SOFISTIK_TMPDIR#
Variable: |
|
---|---|
Parameter: |
Alternate directory for all temporary project files. Can be used only in TEDDY workflow! |
Default value: |
Defaults to |
PSJOBPAR#
Variable: |
|
---|---|
Parameter: |
Default Values for WPS/SPS ( ‘’Calculate’’) |
PSJOBINFO#
Variable: |
|
---|---|
Parameter: |
Time & File stamping for WPS/SPS ( ‘’Calculate’’) |
CDBASEMEM#
Variable: |
|
---|---|
Parameter: |
Size of Memory for CDBASE in Megabyte (MB) or Gigabyte (GB).
It is required to use ‘’MB’’ or ‘’GB’’ as suffix for the unit definition.
E.g. |
Default value: |
1 MB |
CDACCESS#
Variable: |
|
---|---|
Parameter: |
CDBASE multitasking feature SINGLE = deactivateNOWAIT = do NOT wait if locked (useful for remote analysis) |
CDBASETEMP#
Variable: |
|
---|---|
Parameter: |
Directory name for temporary scratch files Using |
CDBASEVER#
Variable: |
|
---|---|
Parameter: |
Version of CDBASE format CDBASEVER =501 maximum 256 GB (Default)CDBASEVER =503 maximum 1024 GB |
SOF_NUM_THREADS#
Variable: |
|
---|---|
Parameter: |
Default number of threads to be used: NUMBER_OF_PROCESSORS orOMP_NUM_THREADS |