Arbortext Command Language > Repository API > sess_disconnect
  
sess_disconnect
sess_disconnect (sesshdl)
Disconnects the session sesshdl.
If sesshdl is invalid, or the operation fails, the function places error data in $main::ioerr and returns a zero (0). If successful, the function returns a one (1).
* 
This function performs one of the many steps necessary to disconnect a user from a repository. If you are writing a script that disconnects from a repository, use the sess_end function, as it will perform all the disconnection steps in their proper order.