Ilansu
20th July 2008, 16:17
Hello ALL

I have 2 baan4c4 servers with 2 differnt dllapihand\porting set version , i tried to put the same version on both servers but it seems to conflict with other tools differences so i left it as is.
I'm trying to create a PO via ASF
The first part (pur4101m000) goes ok
The second part -opens pur4105s000 and pur4504s000
When I'm trying to close the sub session - tdpur4102s000 with stpapi.end.session ("tdpur4105s000") i get a fatal error - index out of dims
when i try -stpapi.handle.subproc( "tdpur4101m000", "tdpur4105s000", "kill" )
the sub session ends but the session - tdpur4504s000 hangs , i tried - stpapi.end.session("tdpur4504s000") before and after the "stpapi.handle.subproc" but nothing seems to help
i knew the first thing to do is to upgrade the dllspihand but i can't . is there any work around to close the hanged session?

The other server works ok , all the sub sessions closes when I close the pur4101m000 .

mark_h
21st July 2008, 14:08
You can try killing it using this code (http://www.baanboard.com/baanboard/showthread.php?t=14201&highlight=pstat) - only if it works, but it is not what I recommend.

Ilansu
21st July 2008, 15:19
Thanks for your help
I tried your code and it works fine for me