Appendix C. Setting environment variables

In STAF, you set environment variables to change the behavior of a request and response dynamically. In STAF GUI, you use pool settings for this purpose. See the section called “Adding a pool” for instructions.

Supported environment variables

STAF environment variables are listed in the Supported environment variables table. STAF_OLDCLI is not supported since STAF GUI does not support any STAF version below 3.0. STAF_DEBUG_21, STAF_THREAD_STACK_SIZE and STAF_TEMP_DIR are not supported since these are STAFProc environment variables. STAF_PRINT_NO_TABLES is not supported since you can achieve the same effect by setting verbose mode. See the section called “Adding a pool” for more details.

Table C.1. Supported environment variables
Environment variable Supported status
STAF_DEBUG_21 N/A
STAF_IGNORE_INDIRECT_OBJECTS Yes
STAF_INSTANCE_NAME Yes
STAF_OLDCLI N/A
STAF_PRINT_MODE Yes
STAF_PRINT_NO_TABLES No
STAF_QUIET_MODE Yes
STAF_REPLACE_NULLS Yes
STAF_STATIC_HANDLE Yes
STAF_TABLE_LINES_PER_RECORD Yes
STAF_TEMP_DIR N/A
STAF_THREAD_STACK_SIZE N/A