##############################################
#        Ambiente Informix Geral             #
##############################################

export INFORMIXDIR=/opt/informix
export FGLDIR=/usr/fgl2c
export FGLPROFILE=$FGLDIR/etc/fglprofile
export DBDATE=dmy4/
export DBMONEY=R$,
export DBEDIT=jstar
export PATH=$PATH:$INFORMIXDIR/bin:$FGLDIR/bin
export OS=Linux
export RUNNER=fglrun
export DBEDIT=jstar
unset LANG LC_CTYPE  
export TERM=vt100
export PATH=$PATH:/sisdia
export LOGNAME=informix

### Para Instalar o Informix no Four J's
export RPM_INSTALL_PREFIX=/opt/informix

## Variaveis INFORMIX - DATABASE
export INFORMIXSHMBASE=-1
export INFORMIXSERVER=ol_standard
export INSTANCIA=`echo $INFORMIXSERVER | cut -c 4-11`
export ONCONFIG=onconfig.ol_$INSTANCIA
cd /sisdia
/usr/bin/cls

# Ambiente de Compilacao
export FGLDIR=/usr/fgl2c
export FGLPROFILE=$FGLDIR/etc/fglprofile
export PATH=$PATH:$FGLDIR/bin
export RUNNER=fglrun
#------- INFORMIX environment file
SHELL=/bin/bash
export SHELL
#------- INFORMIX installation directory
FGLDIR=/usr/fgl2c
export FGLDIR
#------- Informix installation directory
INFORMIXDIR=/opt/informix
export INFORMIXDIR
#------- Upgrade the LD_LIBRARY_PATH
LD_LIBRARY_PATH="/opt/informix/lib:/opt/informix/lib/c++:/opt/informix/lib/cli:/opt/informix/lib/dmi:/opt/informix/lib/esql:/opt/informix/lib/tools:${LD_LIBRARY_PATH=}"
export LD_LIBRARY_PATH
#------- Upgrade the path
PATH=$INFORMIXDIR/bin:$FGLDIR/bin:$PATH
export PATH
unset FGLGUI

# Ambiente JAVA
export CLASSPATH=.:axis.jar:commons-discovery-0.2.jar:javax.wsdl_1.6.2.v201012040545.jar:jaxrpc.jar:org.apache.commons.logging_1.0.4.v201101211617.jar:log4j-1.2.17.jar:ifxjdbc.jar:mail.jar:WsMBB.jar:$CLASSPATH
export JAVA_HOME=/usr/local/jre1.6
export PATH=$JAVA_HOME/bin:$PATH
#------- Especifico ambiente treino do cliente. Verificar qual a porta correta para producao.
#export INFORMIXPORT=1528

# Executando Progs
fglrun MBBC3000 0 'AUTO'
