when i try to run i got the error like this
bash-3.2$. /d01/DEVELMEN/apps/apps_st/appl/APPSDEVELMEN_development-2.env
': not a valid identifier
bash-3.2$
:
# $Header: APPSORA_ux.env 120.0 2005/06/20 15:33:34 appldev noship $
# =============================================================================
# NAME
# APPSORA.env
#
# DESCRIPTION
# Execute environment for Oracle and APPL_TOP
#
# NOTES
#
# HISTORY
#
# =============================================================================
#
# ###############################################################
#
# This file is automatically generated by AutoConfig. It will be read and
# overwritten. If you were instructed to edit this file, or if you are not
# able to use the settings created by AutoConfig, refer to Metalink Note
# 387859.1 for assistance.
#
# ###############################################################
#
# Source the custom file if it exists
customfile=/d01/DEVELMEN/apps/apps_st/appl/customDEVELMEN_development-2.env
if [ -f $customfile ]; then
. /d01/DEVELMEN/apps/apps_st/appl/customDEVELMEN_development-2.env
fi
. /d01/DEVELMEN/inst/apps/DEVELMEN_development-2/ora/10.1.2/DEVELMEN_development-2.env
. /d01/DEVELMEN/apps/apps_st/appl/DEVELMEN_development-2.env
i check the "APPSDEVELMEN_development-2.env" from production the character ":" is like want i give to you.
i resolve the issue by recreate the startAPPS.sh because i run this .env with script
i check the "APPSDEVELMEN_development-2.env" from production the character ":" is like want i give to you.
i resolve the issue by recreate the startAPPS.sh because i run this .env with script
thanks
regards,
brian
If you reply to this email, your message will be added to the discussion below:
you reply :
"There is a ":" character in the beginning of that file.
It is clearly seen Brian :)
See the first line, before the line starting with # $Header: APPSORA_ux.env . There is ":" character, delete it and your problem will be fixed."
did you means i must delete the character ":" from the script "APPSDEVELMEN_development-2.env"?
i didn't delete, i check the script first and compare between APPSDEVELMEN_development-2.env and APPSPROD_production-2.env(environment of production) and the character ":" in APPSPROD_production-2.env is exist.
i run the environment with startApps.sh (shell script), the error shows when i run this command
bash-3.2$sh startApps.sh
': not a valid identifier
i try to run it manualy like this:
bash-3.2$. /d01/DEVELMEN/apps/apps_st/appl/APPSDEVELMEN_development-2.env
': not a valid identifier
and the error still show up.
So i try to delete startApps.sh and recreate it which is ". /d01/DEVELMEN/apps/apps_st/appl/APPSDEVELMEN_development-2.env" command put in there.
at the end it resolved :)
the character ":" is "unnecessary" and it is "meaningless."
You should delete it, it shouldn't be there.
Just a single ":" .. It doesn't mean anyting and bash doesn't want it -> it say -> "': not a valid identifier" , so it doesn't want that ":", as clearly seen from the message.