If you have a good scripter around the office you could do something like
this to start things up
1. Create a user(say SUBSYS)to start the job.
2. Have the script run something like this (we are on UNIX)
nohup $SYSTEM/bin32/runque.sh SUBSYSQ UBE 5 > runque2.log 2>&1 &
echo "Subsystem queue startup finished!"
nohup $SYSTEM/bin32/runube SUBSYS PASS PD7333 R00460 XJDE0001 SUBSYSQ Batch
Hold Save &
exit 0
And to shut it down all you would have to do is create a script that
1. checks the F986110 table to verify you aren't running any jobs in SUBSYSQ
2. greps (finds in NT) for SUBSYS and kills any processes found
Now just have your RunOneWorld/EndOneWorld scripts call these scripts first
thing.
Good luck
Mark Siebenschuh
Mark Siebenschuh
HP9000/Oracle 8.0.5/JDE XE/Lots of Citrix