Sample Connection Manager Telnet Script
The following is a UNIX qma script. The bold sections are discussed in greater detail below.#!/bin/sh
# Script to start multi-user session of QAD Enterprise Applications
# tokens:
# &DLC = Progress Directory
# &CLIENT-DB-CONNECT = command line to connect to each db in dbset
stty intr '^c'
DLC=${DLC:-/apps/progress/91d};export DLC
PATH=$PATH:$DLC;export PATH
PROMSGS=$DLC/promsgs;export PROMSGS
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
PS1='$$ ';export PS1
PROPATH=${PROPATH:-.,/mfgsvr/<QXI webapp>,/mfgsvr,/mfgsvr/bbi}
;export PROPATH
# Set terminal type.
if [ ${TERM:-NULL} = NULL ]
then
echo
echo "Please enter your terminal type: c"
read TERM
export TERM
fi
#
# Start QAD Enterprise Applications.
#
cd # change to home directory
# exec $DLC/bin/_progres &DB etc
exec $DLC/bin/_progres
/mfgsvr/db/mfgprod -ld qaddb -znotrim -trig triggers
-db /mfgsvr/db/hlpprod -ld qadhelp
-db /mfgsvr/db/admprod -ld qadadm
-d mdy -yy 1920 -Bt 350 -c 30 -D 100 -mmax 3000 -nb 200
-s 63 -noshvarfix
-p mfwb01aa.p
-param mfgwrapper=true,apimode=true
Note: For a cloud-based environment, such as QAD 2015 EE (cloud) or later, the parameters in the startup script can be different. For example, the startup program is ClientBootstrap.p instead of mfwb01aa.p.