envmng/etc/envmng.d/ic

610 lines
24 KiB
Plaintext
Raw Normal View History

2009-01-12 18:59:03 +01:00
# $RCSfile: ic,v $
# $Revision: 1.2 $
2009-01-12 18:59:03 +01:00
# $Name: $
# $Date: 2009/01/13 13:27:53 $
2009-01-12 18:59:03 +01:00
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IC (BDF Interlinking Component) application
#-------------------------------------------------------------------------------
2009-01-12 18:59:03 +01:00
case "$1" in
*profile)
export ICDIR=$TARGET_HOME/ic/appli
export APPDIR=$TARGET_HOME/ic/appli/bin
export EXPLIC=$TARGET_HOME/ic/expl
export REP_IC_EXPL=$TARGET_HOME/ic/expl
export QSPACEIC=$TARGET_HOME/ic/qspace
export DATABASEIC=$TARGET_HOME/ic/database
export DATAIC=$TARGET_HOME/ic/database/data
export EXPL_SCRIPTS=$TARGET_HOME/appli/expl/scripts
export CERTIFDIR=$TARGET_HOME/appli/expl/certif
export CERTIF_SCRIPTS=${CERTIFDIR}/scripts
export LOGDIRIC=$EXPLIC/log
export PSPDIRIC=$EXPLIC/psp
export PROC_EXPL_IC=$EXPLIC/proc
export IC_SH_DIR=$ICDIR/sh
export ENVDIRIC=$ICDIR/env
export IC_TOOLS_DIR=$ICDIR/tls
export FICHIER_RES="$HOME/ic/source_dev/clients/client_resync/resync/msg"
export BIC_IC_TBF="ZYBMFRC0XXX"
export BIC_IC_TARGET="BDFEFRT0XXX"
#----------------------------------------------------------------------------
# LIVRAISON BACKUP APPLI SOURCE LST
#----------------------------------------------------------------------------
export LIVRAISONIC=$TARGET_HOME/livraison/ic
export BACKUPIC=$TARGET_HOME/backup/ic
export LSTDIRIC=$TARGET_HOME/lst
export SHDIRIC=${ICDIR}/sh
export BINDIRIC=${ICDIR}/bin
export SQLDIRIC=${ICDIR}/sql
export ENVDIRIC=${ICDIR}/env
export EXPL_INJECTION=$TARGET_HOME/appli/expl/injection
export EXPL_SIMULATEUR=$TARGET_HOME/appli/expl/simulateur
export EXPLTMP=$TARGET_HOME/appli/expl/tmp
#----------------------------------------------------------------------------
# Variables d'environnement pour traitement du referentiel CRI par l'IC
#----------------------------------------------------------------------------
export REFCRI_BIN=${BINDIRIC}
export REFCRI_REP_LOG=${LOGDIRIC}
export REFCRI_SVC_EXPORT=SVCEXPORTACA
export REFCRI_GROUPE=GROUP_IC
export REFCRI_TRACE=1
export REFCRI_LOG=$REFCRI_REP_LOG/ACALOG
export REFCRI_ERR=$REFCRI_REP_LOG/ACAERR
#----------------------------------------------------------------------------
# Tuxedo Queue Config
#----------------------------------------------------------------------------
export QMCONFIG_IC=$TARGET_HOME/ic/qspace/QUE
export QMCONFIG=$QMCONFIG_IC
export IC_DEVICE_QUEUE=$QMCONFIG_IC
export IC_DEVICE_QUE=$QMCONFIG_IC
export ULOGPFX=${LOGTUX}/ULOG
#----------------------------------------------------------------------------
# Exploitation Env
#----------------------------------------------------------------------------
export JOUR=`date +%m%d%y`
export JOUR_LOG=`date +%m%d%y%H%M`
export AUJOURDHUI=`date +%y%m%d`
export REPBUP=$TARGET_ID/backup
export APPLI=${TARGET_ID}
export APPLI_HOME=/home/${TARGET_ID}
export EXPLOIT=/home/${TARGET_ID}/appli/expl
export BAT="/home/${TARGET_ID}/appli/expl/proc"
export BAT_SQL=${BAT}/sql
export LST="/home/${TARGET_ID}/appli/expl/lst"
export PILO="/home/${TARGET_ID}/appli/expl/proc/pilotage"
export HFJ_BIN=${BINDIRIC}
export HFJ_DATA=${ICDIR}/data
export HFJ_SH=${SHDIRIC}
export IC_ARCHIVAGE=$EXPLIC/lst/hebdo
export IC_ARCHIVAGE_HEBDO=$EXPLIC/lst/hebdo
export REP_TEMPORAIRE=$REPBUP
export SCH_INIT_QUOTI=ICMGR
export SCH_FINAL_QUOTI=TARGET_HEBDO
export FIC_EXP_QUOTI=export_quoti_ic
export SCH_INIT_HEBDO=TARGET_HEBDO
export SCH_FINAL_HEBDO=TARGET_SEMESTRE
export FIC_EXP_HEBDO=export_hebdo_ic
export SCH_INIT_RESTORE=TARGET_HEBDO
export SCH_FINAL_RESTORE=TARGET_RESTORE
export USR_ICMGR=ICMGR
export PWD_ICMGR=SOLEIL98
export USR_HEBDO=TARGET_HEBDO
export PWD_HEBDO=HEBDO
export USR_RESTORE=TARGET_RESTORE
export PWD_RESTORE=RESTORE
export USR_SYSTEME=SYSTEME
export PWD_SYSTEME=MANAGER
export USR_STELINK=STELINK
export PWD_STELINK=STELINK
# Variables statistiques BCE
export CMDFTPMICBCE1=$BAT/cmdftpmicbce1
export CMDFTPMICBCE2=$BAT/cmdftpmicbce2
export REP_BCE=$EXPLOIT/statistiques_bce
export NOM_AWK=$BAT/statistiques_BCE.awk
export FIC_STAT_I=I`date +%y%m%d`.MIC
export FIC_STAT_O=O`date +%y%m%d`.MIC
export FIC_STAT_BCE=statistiques_BCE.$JOUR
# User sur NT SAFIRE PRIMAIRE & SECOURS
export USRBCE=TARGET01
export PWDBCE=ICOTT01
export PSP_PRI=psp_pri ;
export PSP_SEC=psp_sec ;
export PSP=$PSP_SEC ;
export PSP_REP=target_integra ;
# Variables traitement du BIC DICTIONNARY
export FIC_BIC_CTL=$BAT/load_bic.ctl
export FIC_BIC_DAT=$BAT/TBIC0101.dat
export FIC_BIC_BAD=$LST/TBIC0101.bad
export FIC_BIC_LOG=$LST/TBIC0101.log
export ADSM=/home/sauvegarde/lst
APPLI_REP="/home/target0 /home/target0/backup /home/target0/appli/expl /home/target0/appli/expl/tuxedo/tlog";export APPLI_REP;
APPLI_REP1="/home/target0/ic/database/databasehebdo /home/target0/ic/expl /home/target0/ic/database/redolog /home/target0/ic/database/redolog_m";export APPLI_REP1;
APPLI_REP2="/home/target0/ic /home/target0/ic/qspace /home/target0/ic/database /home/target0/ic/database/archivelog";export APPLI_REP2;
APPLI_REP3="/home/target0/cristal /home/target0/cristal/qspace /home/target0/cristal/database";export APPLI_REP3;
APPLI_REP4="/home/target0/stelink /home/target0/stelink/database /home/target0/stelink/qspace";export APPLI_REP4;
APPLI_REP5="/home/target0/stelink/appli /home/target0/stelink/database/archivelog /home/target0/stelink/database/redolog /home/target0/stelink/database/redolog_m";export APPLI_REP5;
APPLI_REP6="/home/applvg1/logiciel /home/secur";export APPLI_REP6;
APPLI_REP1_ARCH="/home/target0/ /home/target0/appli/expl/ /home/target0/appli/expl/tuxedo/tlog/";export APPLI_REP1_ARCH;
APPLI_REP2_ARCH="/home/target0/cristal/ /home/target0/cristal/database/ /home/target0/cristal/qspace/ /home/target0/ic/ /home/target0/ic/qspace/ /home/target0/ic/database/ /home/target0/ic/database/databasehebdo/ /home/target0/ic/expl/ /home/target0/ic/database/redolog/ /home/target0/ic/database/redolog_m/ /home/target0/ic/database/archivelog/";export APPLI_REP2_ARCH;
APPLI_REP3_ARCH="/home/target0/stelink/ /home/target0/stelink/database/ /home/target0/stelink/qspace/ /home/target0/stelink/appli/ /home/target0/stelink/database/archivelog/ /home/target0/stelink/database/redolog/ /home/target0/stelink/database/redolog_m/";export APPLI_REP3_ARCH;
export APPLI_TMP=${APPLI_HOME}/tmp
export ARCHIVELOGREP=$EXPLOIT/arch;
export QM_CRT=$QMCONFIG_CRT
export LIST_CRT="Q_IC_REP"
export QM_STK=$QMCONFIG_STK
export LIST_STK="FILE_SVC"
export QM_IC=$QMCONFIG_IC
export LIST_IC="IC_QSP.SVC_ALRT_IC IC_QSP.Q_IC_ERR_RCP IC_QSP.IC_QSPERR IC_QSP.Q_IC_ERR_EMI"
export DATE_ARCHIVAGE=`date +%Y\/%m\/%d`
#------------------------------------------------------------------------------
#---- VARIABLES A POSITIONNER EN DUR
#------------------------------------------------------------------------------
export BIC_IC="BDFEFRT0XXX" #--- N'est pas utilise
export CDE_BQ=90124 #--- var utilisee dans les batchs CRT (lance_crt_tfj)
export BIC_CRT="XXXXXXXX"
export BIC_CRISTAL="ZYAHFRT0XXX"
export STE_ORACLE_SID=STEORA
export USERDBAICCRT=dbadtar
export USERDBASTELINK=dbadstl
export HOME_LOGICIEL=/home/logiciel #-- cas de la prod
#-------------------GESTION CLUSTER PRIMAIRE ET SECOURS---------------------
export SITE_PRIMAIRE=""
export SITE_SECOURS=""
export PKG_PRIMAIRE=hitargp2
export PKG_SECOURS=hpint8
export SITE_PRIMAIRE_N1=hpint15
export SITE_PRIMAIRE_N2=hpint16
export SITE_SECOURS_N1=hpint8
export SITE_SECOURS_N2=hpint8
export LP_SAFIRE_PRI=lpsafire_prim
export LP_SAFIRE_SEC=lpsafire_sec
export LP_SAFIRE=$LP_SAFIRE_PRI
export CRT_OWNER=ops\$target0;
#----------------------------------------------------------------------------
# IC Env
#----------------------------------------------------------------------------
####################################################################
######## ###################
######## PARAMETRES D'ENVIRONNEMENT DE L'IC ###################
######## ###################
# Modifie le 09/09/1999, DST, CIMV
# Ajout configuration lot C v2.5
# Modifie le 26/04/2000, DST, CIMV
# Ajout IC_REP_QSPACE_AVN pour IC v3
####################################################################
# Path utilise pour la generation des IPC (ftok)
export IPC_PATH_IC=${ICDIR}
export IC_USER=${TARGET_ID}
export IC_DEVICE_QUE=${QMCONFIG_IC}
export REP_IC_EXPL=$EXPLIC
####################################################################
####### Logs ###################
####################################################################
# Niveau de trace
export IC_TRACE_LEVEL=20
export IC_TRACE_LEVEL_MIN=0
export IC_TRACE_LEVEL_MAX=20
###################################################################
####### Clients IC ###################
###################################################################
####### General ################################
# Shell de purge des clients IC, admet en parametre le nom du client a purger
export SHELL_PURGE_CLI_IC=${ICDIR}/sh/killclient.sh
# QSPACE utilises par l'IC
export IC_QSPACE=IC_QSP
export IC_QSPACE_RCP=IC_QSP_RCP
export IC_QSPACE_EMS=IC_QSP_EMS
export IC_QSPACE_CNF=IC_QSP_CNF
export IC_QSPACE_STK=IC_QSPEMSTK
# FILE d'<27>mission vers Stelink (depuis Interlinking) utilise par l'IC
export IC_QUEUE_EMI_STK=SVCIMPORTBDF
# FILE de reception (depuis Interlinking) utilise par l'IC
export IC_QUEUE_RCP=RECEPTION_IC
# FILE de reprise en reception utilise par l'IC
export IC_QUEUE_RCP_REP=Q_IC_RCP_REP
# FILE d'emission (vers Interlinking) utilise par l'IC
#export IC_QUEUE_EMI=Q_IC_EMI
export IC_QUEUE_EMI=EMISSION_IC
# FILE de reprise en emission utilisee par l'IC
export IC_QUEUE_EMI_REP=Q_IC_EMI_REP
#Groupe utilise pour gerer les transactions
export GROUPNAME_IC=GROUP_IC
export GROUPNAME_IC=GROUP_DAVID
####### Client de supervision ###################
#Cltname utilise dans tpinit par les clients qui veulent recevoir les alertes duclient de supervision
export CLTNAME_IC=IC
####### Scheduler ###################
export CLIENT_SCHEDUL_LOG=${REP_IC_EXPL}/log/scheduler.log
####### Journal alerte ###################
export IC_CHEMIN_JNL_ALERT=${REP_IC_EXPL}/log/journalAlerte.log
####### Client de test EOD ###################
export HFJ_BIN=${ICDIR}/bin
export HFJ_DATA=${ICDIR}/files
export HFJ_LOG=${REP_IC_EXPL}/log/spv_alert.log
export ALRT_LOG=${REP_IC_EXPL}/log/spv_alert.log
export CLIENT_PIL_LOG=${REP_IC_EXPL}/log/client_pil_ic.log
####### Client de Statistiques Interlinking ###################
export CONST_RAPPORT_LOG=${REP_IC_EXPL}/log/const_rapport.log
###################################################################
####### Retrieval et Resynchro (cote Interlinking) ###########
###################################################################
####### RETRIEVAL ###############################
#QSPACE de retrivial
export RTV_QSP_EMI=IC_QSP_EMS
export RTV_QSP_RCP=IC_QSP_RCP
# File de retrieval en reception
export RTV_QPSM_RCP=SVC_RESYNC_RCP
# File de retrieval en emission
export RTV_QPSM_EMI=SVC_RESYNC_EMI
# Service de retrieval stelink
export SVC_EXPORT_SYN=SVCEXPORTSYN
# Service de retrieval IC
export SVC_RTV=SVC_RTV
####### RESYNCHRO ###############################
# Log du client de Resynchro
export CLI_RESYNC_LOG=${REP_IC_EXPL}/log/cli_rsc.log
# File de discordance en emission
export RTV_QDISC_EMI=SVC_DISC_EMI
# Service de resynchro en emission
export SVC_RESYNC_RCP=SVC_RESYNC_RCP
# Service de resynchro en reception
export SVC_RESYNC_EMI=SVC_RESYNC_EMI
#############################################################################
#############################################################################
###### BASCULES FILE VERS FILE (Reprise et applicatives) ##############
#############################################################################
export IC_CLIENTS_BASCULE_FILE_FILE=EMS,RCP,CNF,TFJ,IMP,EXP,ALR,SOL,BIP
export IC_REP_GROUPNAME=GROUP_IC
#Parametrage reprise en EMISSION (EMS)
export IC_REP_USRNAME_EMS=REPRISE_EMS
export IC_REP_CLTNAME_EMS=BASCULE_REP
export IC_REP_GRPNAME_EMS=GROUP_IC
export IC_REP_QSPACE_EMS=IC_QSP_EMS
export IC_REP_QSPACE_AVN=IC_QSP_EMS
export IC_REP_QSPACE_ORIG_EMS=IC_QSP_EMS
export IC_REP_QORIG_EMS=IC_QSP_EMS_ERR
export IC_REP_QSPACE_DEST_EMS=IC_QSP_EMS
export IC_REP_QDEST_EMS=EMISSION_IC
export IC_REP_TIMER_EMS=30
export IC_REP_NB_OCC_EMS=1
export IC_REP_SH_START_EMS=ic_bascule_file
export IC_REP_SH_STOP_EMS=${ICDIR}/sh/killclientbsc.sh
#Parametrage reprise en RECEPTION (RCP)
export IC_REP_USRNAME_RCP=REPRISE_RCP
export IC_REP_CLTNAME_RCP=BASCULE_REP
export IC_REP_GRPNAME_RCP=GROUP_IC
export IC_REP_QSPACE_RCP=IC_QSP_RCP
export IC_REP_QSPACE_ORIG_RCP=IC_QSP_RCP
export IC_REP_QORIG_RCP=IC_QSP_RCP_ERR
export IC_REP_QSPACE_DEST_RCP=IC_QSP_RCP
export IC_REP_QDEST_RCP=RECEPTION_IC
export IC_REP_TIMER_RCP=30
export IC_REP_NB_OCC_RCP=1
export IC_REP_SH_START_RCP=ic_bascule_file
export IC_REP_SH_STOP_RCP=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_RCP=${REP_IC_EXPL}/log/reprise_rcp.log
#Parametrage reprise en CONFIRMATION (CNF)
export IC_REP_USRNAME_CNF=REPRISE_CNF
export IC_REP_CLTNAME_CNF=BASCULE_REP
export IC_REP_GRPNAME_CNF=GROUP_IC
export IC_REP_QSPACE_CNF=IC_QSP_CNF
export IC_REP_QSPACE_ORIG_CNF=IC_QSP_CNF
export IC_REP_QORIG_CNF=IC_QSP_CNF_ERR
export IC_REP_QSPACE_DEST_CNF=IC_QSP_CNF
export IC_REP_QDEST_CNF=CONFIRM_IC
export IC_REP_TIMER_CNF=30
export IC_REP_NB_OCC_CNF=1
export IC_REP_SH_START_CNF=ic_bascule_file
export IC_REP_SH_STOP_CNF=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_CNF=${REP_IC_EXPL}/log/reprise_cnf.log
#Parametrage reprise en EXPORT (EXP)
export IC_REP_USRNAME_EXP=REPRISE_EXP
export IC_REP_CLTNAME_EXP=BASCULE_REP
export IC_REP_GRPNAME_EXP=GROUP_IC
export IC_REP_QSPACE_EXP=IC_QSP_EXP
export IC_REP_QSPACE_ORIG_EXP=IC_QSP_EXP
export IC_REP_QORIG_EXP=IC_QSP_EXP_ERR
export IC_REP_QSPACE_DEST_EXP=IC_QSP_EXP
export IC_REP_QDEST_EXP=SVC_EXP_IC
export IC_REP_TIMER_EXP=30
export IC_REP_NB_OCC_EXP=1
export IC_REP_SH_START_EXP=ic_bascule_file
export IC_REP_SH_STOP_EXP=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_EXP=${REP_IC_EXPL}/log/reprise_exp.log
#Parametrage reprise en IMPORT (IMP)
export IC_REP_USRNAME_IMP=REPRISE_IMP
export IC_REP_CLTNAME_IMP=BASCULE_REP
export IC_REP_GRPNAME_IMP=GROUP_IC
export IC_REP_QSPACE_IMP=IC_QSP_IMP
export IC_REP_QSPACE_ORIG_IMP=IC_QSP_IMP
export IC_REP_QORIG_IMP=IC_QSP_IMP_ERR
export IC_REP_QSPACE_DEST_IMP=IC_QSP_IMP
export IC_REP_QDEST_IMP=Q_CRT_RES
export IC_REP_TIMER_IMP=30
export IC_REP_NB_OCC_IMP=1
export IC_REP_SH_START_IMP=ic_bascule_file
export IC_REP_SH_STOP_IMP=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_IMP=${REP_IC_EXPL}/log/reprise_imp.log
#Parametrage reprise en Traitement Fin de Journee (TFJ)
export IC_REP_USRNAME_TFJ=REPRISE_TFJ
export IC_REP_CLTNAME_TFJ=BASCULE_REP
export IC_REP_GRPNAME_TFJ=GROUP_IC
export IC_REP_QSPACE_TFJ=IC_QSP_TFJ
export IC_REP_QSPACE_ORIG_TFJ=IC_QSP_TFJ
export IC_REP_QORIG_TFJ=IC_QSP_TFJ_ERR
export IC_REP_QSPACE_DEST_TFJ=IC_QSP_TFJ
export IC_REP_QDEST_TFJ=SPV_SVC_TEST
export IC_REP_TIMER_TFJ=30
export IC_REP_NB_OCC_TFJ=1
export IC_REP_SH_START_TFJ=ic_bascule_file
export IC_REP_SH_STOP_TFJ=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_TFJ=${REP_IC_EXPL}/log/reprise_tfj.log
#Parametrage reprise en Alerte (ALR)
export IC_REP_USRNAME_ALR=REPRISE_ALR
export IC_REP_CLTNAME_ALR=BASCULE_REP
export IC_REP_GRPNAME_ALR=GROUP_IC
export IC_REP_QSPACE_ALR=IC_QSP_ALR
export IC_REP_QSPACE_ORIG_ALR=IC_QSP_ALR
export IC_REP_QORIG_ALR=IC_QSP_ALR_ERR
export IC_REP_QSPACE_DEST_ALR=IC_QSP_ALR
export IC_REP_QDEST_ALR=SVC_ALRT
export IC_REP_TIMER_ALR=30
export IC_REP_NB_OCC_ALR=1
export IC_REP_SH_START_ALR=ic_bascule_file
export IC_REP_SH_STOP_ALR=${ICDIR}/sh/killclientbsc.sh
export IC_REP_LOG_ALR=${REP_IC_EXPL}/log/reprise_alr.log
#-------------------------------------------------------------------
#-------------------------------------------------------------------
#-------- Variables d'environnement pour le service SVC_RTV
#-------- et la resynchro ------------------------------------------
#-------------------------------------------------------------------
#-------------------------------------------------------------------
export IC_RTV_QSPACE_EMS=IC_QSP_EMS
export IC_RTV_QSTOCK_EMS=IC_QSP_EMS_ERR
export IC_RTV_QPSM_EMS=SVC_RESYNC_EMI
export IC_RTV_QERR_EMS=IC_QSP_ERR_ERR
export IC_RTV_QSPACE_RCP=IC_QSP_RCP
export IC_RTV_QSTOCK_RCP=IC_QSP_RCP_ERR
export IC_RTV_QPSM_RCP=SVC_RESYNC_RCP
export IC_RTV_QERR_RCP=IC_QSP_RCP_ERR
export RTV_CATALOG=${ICDIR}/bin/CatErrRtv
# gestion des alarmes
export IC_CHEMIN_ALARME_TARGET=${REP_IC_EXPL}/log/ALARME_TARGET
export IC_REP_QSPACE_AVN=IC_QSP_EMS
export IC_EXPQREPRISE=Q_REP_SECOURS
#gestion du pilotage bancaire
export IC_REP_QSPACE_PIL=IC_QSP_PIL
export SVC_PIL_IC=SVC_PIL_IC
# Version 5.1.0
export CONST_RAPPORT_LOG=$LOGDIRIC/const_rapport.out
export IC_CHEMIN_JNL_ALERT=${REP_IC_EXPL}/log/journalAlerte.log
export CLIENT_SCHEDUL_LOG=${LOGDIRIC}/scheduler.log
####### RESYNCHRO ###############################
#Event des fins de phases
export CHGT_PHASE_RESYNC_EVENT=changement_phase_resync
#Chemin du client de chgt de phase
export CLI_SCAN_RESYNC_DIR=$APPDIR
#Nom du client de chgt de phase
export CLI_SCAN_RESYNC_EXE=ic_scan_resync
####### Client scan resynchro ###################
export IC_SCAN_RESYNC_LOG=${REP_IC_EXPL}/log/ic_scan_resync.log
#Event des fins de phases
export CHGT_PHASE_RESYNC_EVENT=changement_phase_resync
#Chemin du client de chgt de phase
export CLI_SCAN_RESYNC_DIR=$APPDIR
#Nom du client de chgt de phase
export CLI_SCAN_RESYNC_EXE=ic_scan_resync
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=${APPDIR}:$EXPL_SCRIPTS:$CERTIF_SCRIPTS
export PATH=$(envmng_path_add "$PATH" "$path")
shlib_path=${ICDIR}/sl:${APPDIR}
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
fldtbldir=$ENVDIRIC
export FLDTBLDIR=$(envmng_path_add "$FLDTBLDIR" "$fldtbldir")
export FLDTBLDIR32=$(envmng_path_add "$FLDTBLDIR32" "$fldtbldir")
;;
*rc)
#---------------------------------------------------------------------------
#-- ALIAS PRATIQUES (SCOPE) ------------------------------------------------
#---------------------------------------------------------------------------
alias s="cd $STELINKDIR ; pwd"
alias ma="cd /home/${TARGET_ID}/appli/expl/masterisation/master ; pwd"
alias l="ls -la"
alias lt="ls -lt | head -15"
alias lst="ls -t | head -20"
alias dlog=" ls -l $UTILDIR/logs/purge_defrag.log ; tail $UTILDIR/logs/purge_defrag.log"
alias log="cd /home/$TARGET_ID/appli/expl/tuxedo/log ; ls -lt | head -15"
alias v="cd $HOME/schv ; ls -lt | head -15"
alias s="cd $STELINKDIR ; ls -lt | head -15"
alias bin="cd $EXPL_SCRIPTS ; ls -lt | head -15"
alias calend="calendrier.sh"
alias vj="vi $DATADIR/crtpurge/99780_tfj.log ; ls -l $DATADIR/crtpurge/99780_tfj.log"
alias tj="tail -f $DATADIR/crtpurge/99780_tfj.log "
alias m="make"
alias vm="vi [Mm]akefile"
alias vv="vi verif.c"
alias cal="calendrier.sh"
alias tux='cd `dirname $TUXCONFIG` ; ls -l'
alias lf='ls -F'
alias bat='cd $BAT; pwd ; ls -lt | head -6 ; pwd'
#--- Execution du .alias commun -------
alias tux="cd ~/ic/appli/tuxedo"
alias tuxc="cd ~/appli/expl/tuxedo/config"
alias tuxb="cd ~/ic/appli/bin"
alias tuxe="cd ~/ic/appli/env"
alias tuxf="cd ~/ic/appli/files"
alias tuxl="cd ~/ic/expl/log"
alias tuxs="cd ~/ic/appli/sh"
alias tuxt="cd ~/ic/appli/tls"
alias tuxts="cd ~/ic/appli/tls/sh"
alias qvide2.sh="~/ic/appli/tls/sh/qvide2.sh"
alias start_tux="~/ic/appli/tls/sh/start_tux"
alias stop_tux="~/ic/appli/tls/sh/stop_tux"
alias viul="~/ic/appli/tls/sh/viul.sh"
alias tlul="~/ic/appli/tls/sh/tlul.sh"
alias viic="~/ic/appli/tls/sh/viic.sh"
alias tm="tmadmin"
alias qm="qmadmin"
alias cn="~/ic/appli/tls/sh/clinor.sh"
alias ct="~/ic/appli/tls/sh/clithe.sh"
alias or="~/ic/appli/tls/sh/clioli.sh"
alias dv="~/ic/appli/tls/sh/clidav.sh"
alias rg="~/ic/appli/tls/sh/clireg.sh"
alias pa="~/ic/appli/tls/sh/clipad.sh"
alias dp="~/ic/appli/tls/sh/clidpa.sh"
alias ol="~/ic/appli/tls/sh/cliroq.sh"
alias da="~/ic/appli/tls/sh/clidan.sh"
alias ra="~/ic/appli/tls/sh/clirac.sh"
alias ev="~/ic/appli/tls/sh/clieve.sh"
alias clideq="~/ic/appli/bin/client_dequeue"
alias vrcpo="vi ~/ic/appli/log/svr_rcp_ic.out"
alias vrcpe="vi ~/ic/appli/log/svr_rcp_ic.err"
alias vemio="vi ~/ic/appli/log/svr_emi_ic.out"
alias vemie="vi ~/ic/appli/log/svr_emi_ic.err"
alias vcnfo="vi ~/ic/appli/log/svr_cnf_ic.out"
alias vcnfe="vi ~/ic/appli/log/svr_cnf_ic.err"
alias vsqlo="vi ~/ic/appli/log/svr_sql_ic.out"
alias vsqle="vi ~/ic/appli/log/svr_sql_ic.err"
alias vexpo="vi ~/ic/appli/log/svr_exp_ic.out"
alias vexpe="vi ~/ic/appli/log/svr_exp_ic.err"
alias vimpo="vi ~/ic/appli/log/svr_imp_ic.out"
alias vimpe="vi ~/ic/appli/log/svr_imp_ic.err"
alias vtfjo="vi ~/ic/appli/log/svr_tfj_ic.out"
alias vtfje="vi ~/ic/appli/log/svr_tfj_ic.err"
alias vspv="vi ~/ic/appli/log/cli_spv_ic.log"
alias valr="vi ~/ic/appli/log/spv_alert.log"
alias pc="ps -def|grep dbadtarg"
alias mip="ipcs|grep dbadtarg"
alias sqlp="sqlplus /"
alias lf="ls -F"
alias nettoie="~/ic/appli/tls/sh/nettoie.sh"
alias nor="cd ~/ic/appli/tls/tst/nordine/data"
alias the="cd ~/ic/appli/tls/tst/thierry/data"
alias dav="cd ~/ic/appli/tls/tst/david/data"
alias oli="cd ~/ic/appli/tls/tst/olivier/data"
alias reg="cd ~/ic/appli/tls/tst/regis/data"
alias pad="cd ~/ic/appli/tls/tst/pad/data"
alias dan="cd ~/ic/appli/tls/tst/dan/data"
alias dpa="cd ~/ic/appli/tls/tst/dpa/data"
alias rac="cd ~/ic/appli/tls/tst/rachid/data"
alias eve="cd ~/ic/appli/tls/tst/evelyne/data"
alias deq="~/ic/appli/tls/bin/client_test_dequeue"
# #--- Execution des .alias prives
# TTY=`tty | sed 's/^\/dev\///'`
# ADR=`who -a | grep $TTY | awk '{ print $8 }'`
# if [ -f $ICDIR/tls/.alias.${ADR} ]
# then
# . $ICDIR/tls/.alias.${ADR}
# fi
alias vic="vi $CERTIF_SCRIPTS/injecteur04.sh"
alias mod="cd $CERTIFDIR/modeles04 ; ls -lt | head ; pwd"
alias sc="cd $CERTIFDIR/nonreg/scenarios ; ls -lt | head ; pwd"
alias cer="cd $CERTIFDIR ; ls -lt | head ; pwd"
alias cs="cd $CERTIF_SCRIPTS ; ls -lt | head ; pwd"
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac