Hi There,
A quick glance at your code shows you are using the 'system' skill
command to process your data.
Well, 'system' pawns a separate UNIX process to execute a command. But
once the command thrown outside skill using 'system', no interaction
is left In other words, you skill script will continue its execustion
up to the end regadless the progress of the command sent with
'system'.
If you need to make your skill waiting for the execution of an
external Job, which seems the case here, you have better to use the
Inter Process Communication functions instead of system. With IPC
skill functions, you can communicate either synchronously or
asynchronously with the child process.
The IPC functions are well explained in the following do***ent :
Interprocess Communication SKILL Functions Reference : $CDSHOME/doc/
skipcref/skipcref.pdf
A quick example of using IPC functions is :
cidHost = ipcBeginProcess("uname -n")
ipcWait(cidHost)
ridHost=car(parseString(ipcReadProcess(cidHost) "\n"))
The sequence is : Begin, wait, read ...
Hope this help you in solving your issues.
Good luck !
Riad.


|