CORBA 2.3.7 Programmer's Guide for C++

set -A O_HOMETERM $TEMP
# Get tcp process name
TEMP=${TEMP##*/G/}
TCP_PROCESS=${TEMP%%/*}
# Get Guardian form of home terminal
G_HOMETERM=\$$TCP_PROCESS.${O_HOMETERM##*/}
else
G_HOMETERM=\$ZTNT.$HOMETERM
fi
[[ -n $VERBOSE ]] && print "Standard output will appear on $G_HOMETERM"
# Start a PATHMON environment:
# 1. Get "default" volume name. This is where the PATHCTL file is
# created by PATHMON. We'll create the PATHMON log file there as well.
# 2. Blindly create the PATHMON log file. If it is already there, ignore
# the error.
# 3. Start the PATHMON process
PMLOG=$(info_define -detail =_DEFAULTS | awk '/VOLUME/ {print $3}').${PATHMON}LOG
gtacl -c "fup create $PMLOG" > /dev/null 2>&1
gtacl -c "pathmon/name \$$PATHMON,nowait,out $PMLOG/"
sleep 1
# Configure the pathway server pool.
# The command line below turns into something similar to either:
# gtacl -p pathcom $XNDM << eof
# or
# gtacl -p pathcom $XNDM > pathcom.log << eof
# depending on whether the "verbose" option was passed to this script.
# This causes the chatty pathcom output to sent to a file under normal
# circumstances. If one wants to see the pathcom input, use the -v
# option when invoking this shell script.
[[ -z $VERBOSE ]] && USELOG=TRUE
eval gtacl -p pathcom \\\$${PATHMON} ${USELOG:+"> pathcom.log"} <<eof
set pathway maxassigns 8
set pathway maxparams 8
set pathway maxserverclasses 4
set pathway maxserverprocesses 10
set pathway maxstartups 40
set pathway maxtcps 0
set pathway maxterms 0
set pathway maxdefines 27
set pathway maxpathcoms 8
set pathway maxspi 8
set pathway maxlinkmons 16
set pathway maxexternaltcps 0
set pathway maxprograms 0
start pathway cold !
[ Bank server
reset server