1834843 Members
1779 Online
110070 Solutions
New Discussion

Re: set: Syntax error.

 
SOLVED
Go to solution
Jeffrey F. Goldsmith
Super Advisor

set: Syntax error.

I have installed ArcIMS 9.0 onto my D380 server which has HP-UX 11.1 as an OS. There is a file that was part of the installation that should shutdown some programs. When I try to run it I get the set: Syntax error. Here is the file contents and location.

-rwxr-xr-x 1 arcims users 148 Dec 19 2003 aims_shutdown

arcims: /arcims/arcgis/arcims/Xenv ==> more aims_shutdown
#!/bin/csh
#
# Stop ArcIMS at system shutdown.
#
cd $AIMSHOME/Xenv
./aimstasker stop
sleep 2
./aimsmonitor stop
sleep 2
./aimsappsrvr stop
sleep 10
arcims: /arcims/arcgis/arcims/Xenv ==>


Thanks for any help.
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: set: Syntax error.

Since there are no set commands in the script you posted, the errant command must be in one of the other scripts that are called from this one.
If it ain't broke, I can fix that.
RAC_1
Honored Contributor

Re: set: Syntax error.

set -vx
run your script. check what is causing the problem.
There is no substitute to HARDWORK
Jeffrey F. Goldsmith
Super Advisor

Re: set: Syntax error.

I was directed to a different shutdown file in a different location. This file works properly. I am checking the file to see what the difference was.

Thanks for the help.