#	This file must be customized when the MailStream Plus is installed.  
#       Then it must be sourced using the shell built-in command "." 
#       to set up the environment for the MailStream Plus activity
#	each time you log in to your UNIX system.
#
# NOTE: This file is for Bourne type shells; e.g., sh, ksh, bash.
#	For C-shell, use the bin/setup.csh file.
#
#	The following variables must almost always be changed:

G1SYS='AIX'   
export G1SYS

G1DIR='/12a2/group1'   
export G1DIR

#	The remaining lines do not normally need to be changed.
#	You may want to delete any that are already defined for
#	your environment by your system administrator, such as
#	G1RTS or LD_LIBRARY_PATH.  If you have any questions,
#	please contact your system administrator first, then
#	if necessary, contact Group 1 Software Technical Support.
#

G1RTS='/12a2/group1/g1rts'   
export G1RTS

G1PROD="msn"
export G1PROD

G1PRODNAME="MailStream Plus"       
export G1PRODNAME

# Full path to MailStream Plus tree
G1MSP="${G1DIR}/${G1PROD}"
export G1MSP

G1MSPDB='/12a2/group1/msn/db';   export G1MSPDB
export G1MSPDB

G1MAIL=`logname`	       	# User to be notified of EOJ by mail
export G1MAIL

G1TMP="$G1MSP"			# Full path to temp space
export G1TMP

# G1JOB="tbd"
# export G1JOB

# System dependent environment variables which may or may not be set
# in the following case statement:
#
#   LD_LIBRARY_PATH:	Paths to shared libraries
#   LIBPATH=:		AIX Library Path Variable
#   G1ECHO:		Name of SVR4 echo command
#   G1CP:		cp command string that retains timestamps

if [ "$LD_LIBRARY_PATH" != '' ]
then LD_LIBRARY_PATH=$G1RTS/lib:$G1MSP/lib:${LD_LIBRARY_PATH}
else LD_LIBRARY_PATH=$G1RTS/lib:$G1MSP/lib
fi
export LD_LIBRARY_PATH

if [ "$G1SYS" = "HPUX" ]
then
   if [ "$SHLIB_PATH" != '' ]
   then SHLIB_PATH=$G1RTS/lib:$G1MSP/lib:${SHLIB_PATH}      
   else SHLIB_PATH=$G1RTS/lib:$G1MSP/lib
   fi
   export SHLIB_PATH
fi

if [ "$LIBPATH" != '' ]
then LIBPATH=$G1RTS/lib:/lib:/usr/lib:$G1MSP/lib:$LIBPATH
else LIBPATH=$G1RTS/lib:/lib:/usr/lib:$G1MSP/lib
fi
export LIBPATH

# Setup the echo command for stdout
case $G1SYS in
        SOLARIS|SUNBSD|SunOS) G1ECHO="/usr/5bin/echo"
        ;;
        LINUX)          G1ECHO="echo -e"
        ;;
        *)              G1ECHO="echo"
        ;;
esac
export G1ECHO

G1CP='cp -p' 
export G1CP

G1PRODPATH=$G1MSP              
export G1PRODPATH

# Source the AcuCOBOL-specific configuration =============================
. $G1PRODPATH/bin/setuprts 
ERRORS_OK=ON;                             export ERRORS_OK
WARNINGS=0;                               export WARNINGS
MAX_FILES=40;                             export MAX_FILES
LOCK_OUTPUT=1;                            export LOCK_OUTPUT
IO_FLUSH_COUNT=0;                         export IO_FLUSH_COUNT
USE_LARGE_FILE_API=1;                     export USE_LARGE_FILE_API
LARGE_FILE_LIMIT_2TB=1;                   export LARGE_FILE_LIMIT_2TB
SORT_FILES=32;                            export SORT_FILES
SORT_MEMORY=4096;                         export SORT_MEMORY
#=========================================================================
# MailStream Plus Databases
#=========================================================================
DD_G1LICEN="${G1MSP}/data/g1lmlic";     export DD_G1LICEN

# Postal Reference Files
DD_MSRFDC=${G1MSPDB}/prfdlvct;		export DD_MSRFDC
DD_MSRFDI=${G1MSPDB}/prfdstnm;		export DD_MSRFDI
DD_MSRFMP=${G1MSPDB}/prfrtmap;		export DD_MSRFMP
DD_MSRFPS=${G1MSPDB}/prfpstmt;		export DD_MSRFPS
DD_MSRFSQ=${G1MSPDB}/prfsqref;		export DD_MSRFSQ
DD_MSRFZD=${G1MSPDB}/prfzipdr;		export DD_MSRFZD
DD_MSRFZM=${G1MSPDB}/prfzones;		export DD_MSRFZM

#=========================================================================

PATH=$G1RTS/bin:$PATH;          export PATH
