Sunday, April 12, 2020

APPSPROD_tos05.env file


Apps Environment file which holds the main env file for Apps/Custom and


:
# $Header: APPSORA_ux.env 120.0.12020000.8 2015/10/30 03:25:01 sbandla ship $
# =============================================================================
# NAME
#    APPSORA.env
#
# DESCRIPTION
#    Execute environment for Oracle and APPL_TOP
#
# NOTES
#
# HISTORY
#
# =============================================================================
#
# ###############################################################
#
# Do not edit settings in this file manually. They are managed
# automatically and will be overwritten when AutoConfig runs.
# For more information about AutoConfig, refer to the Oracle
# E-Business Suite Setup Guide.
#
# ###############################################################

#
# Source the custom file if it exists

main()
{
    currentHost=`hostname|sed 's/\..*//g'|tr "[A-Z]" "[a-z]"`
    host=`echo "tos05"|tr "[A-Z]" "[a-z]"`
    physicalHost=`echo "tos05"|tr "[A-Z]" "[a-z]"`
    exit_status=0
    if [ $host != $currentHost ] && [ $physicalHost != $currentHost ]
    then
        echo "ERROR: This env should be sourced from $host !"
        exit_status=1
    fi

    customfile=/u01/APPS/fs1/inst/apps/PROD_tos05/appl/admin/customPROD_tos05.env

    if [  -f $customfile ]; then
        . /u01/APPS/fs1/inst/apps/PROD_tos05/appl/admin/customPROD_tos05.env
    fi

    . /u01/APPS/fs1/inst/apps/PROD_tos05/ora/10.1.2/PROD_tos05.env
    . /u01/APPS/fs1/EBSapps/appl/PROD_tos05.env

    return $exit_status
}

# On Solaris default Bourne Shell does not accept a return statement
# that is NOT called from within a function.
main


No comments:

Post a Comment

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files.

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files. I got the issue below wh...