We discovered this
problem with our phantom which sends data to Oracle. We have developed a
double stage method to disconnect it from the user.
Initially we write
the command to launch the phantom to a file - we call ours SCRIPTS, which
contains the command of the structure
echo "program
name " | /uv/bin/uv >./\&PH\&/name of log file in &PH&) 2>&1
&
Then we have an item
in the VOC which contains
SH -c 'full path to
the item in SCRIPTS'
Our initialisation
program writes the entry in SCRIPTS then executes the item in the VOC. In
the past we extended this to be able to run multiple phantoms doing the same
job. Improved hardware means we don't need multiples
now.
This was originally
developed using UniData and we have since ported it to UniVerse. It works
well.
Sara Burns
(SEB)
Development Team
Leader
Public
Trust
Phone:
+64 (04) 474-3841 (DDI)
<mailto:[EMAIL PROTECTED]>
Information contained in this communication is confidential. If you are not the intended recipient the information should not be used, disclosed, copied or commercialised. The information is not necessarily the views nor the official communication of Public Trust. No guarantee or representation is made that the communication is free of errors, virus or interference.
