Hello Vodes,
it seems all ok with the environment variables. i really dont know where the problem is but you can try this:
type some very simple skill commands in the command line of ciw.
e.g.
a=1
if a==1 then printf("good") else printf("bad")
if it work, you can execute skill code but you certainly need the tools of the skill development system like debugger.
if you have the possiblity to run ic5 from a solaris 2.7 machine, try this. we had different behavior between these two versions of solaris.
greetings,
hqqh