I modified a Tcl script I found here to help automate adding physicians to various tables in Cloverleaf. I can add the physicians with no issue, but my script is stuck when trying to run the purge cache command from within the script. I am running a hcisetenc -site [site name] first, but get an error in the script. Here are the commands I am using and the error:
Cloverleaf 5.7 R1 running on AIX 6.1
(within Tcl script)
exec hcisetenv -site [site name]
exec hcicmd -p [process name] -c “.output_cycle purgex”
error:
Process command port not defined!
Process is probably not running.