All pastes #639419 Raw Edit

Miscellany

public text v1 · immutable
#639419 ·published 2007-07-30 15:39 UTC
rendered paste body
root@mtlcsa01(/opt/CSTextSearch/cfg) # more cstsenv.ksh
#!/bin/sh

echo "Start setting environment for CommonStore textsearch"

PATH=$PATH:/opt/CSTextSearch/bin
export PATH

LIBPATH=$LIBPATH:/opt/CSTextSearch/lib
export LIBPATH

ICMFCE_CFG=/opt/CSTextSearch/cfg
export ICMFCE_CFG

# to enable the UDF debug file, set the following variable to '1'
ICMDEBUG=4
export ICMDEBUG


# to enable the CS user-exit trace feature, set the following variable to '1'
ICMFCE_TRACE_ACTIVE=0
export ICMFCE_TRACE_ACTIVE

# more variables controling the trace
ICMFCE_TRACE_FILE=/tmp/icmfce_trace.trc
export ICMFCE_TRACE_FILE

ICMFCE_DUMP=/tmp
export ICMFCE_DUMP

ICMFCE_TRACE_AUTOSAVE=1
export ICMFCE_TRACE_AUTOSAVE

ICMFCE_TRACE_AUTOFLUSH=1
export ICMFCE_TRACE_AUTOFLUSH
#
ICMFCE_TRACE_AUTOCLEAR=1
export ICMFCE_TRACE_AUTOCLEAR
#
ICMFCE_TRACE_BUFSIZE=128
export ICMFCE_TRACE_BUFSIZE
#
ICMFCE_TRACE_COMPRESS=0
export ICMFCE_TRACE_COMPRESS
#
ICMFCE_TRACE_DETAIL=high
export ICMFCE_TRACE_DETAIL

echo "Environment set for CommonStore textsearch"