To access all the capabilities of the SCOadmin environment, you must use osavtcl instead of vtcl to run your SCOadmin programs. This can be done by setting the first line of your program to be:
#!/bin/osavtclThis version of Tcl contains the SCOadmin extensions. It also causes the Tcl SCOadmin Services Library (/etc/sysadm.d/lib/sysadm.tlib) to be loaded automatically.