Arbortext Command Language > Repository API > sess_initialize
  
sess_initialize
sess_initialize (library[, ud])
* 
This function performs one of the many steps necessary to connect a user to a repository. If you are writing a script that connects to a repository, you should use the sess_start function, for it will perform all the connection steps in their proper order.
Sets up a session that could connect to a repository. The function uses adapter data from the library located in the file name (including path) specified by library.
The ud parameter passes user defined data through to the adapter-specific implementation of this function.
If library is invalid, or the operation fails, the function places error data in $main::ioerr and returns -1. If successful, the function returns a dllid (dynamic loading library identification) for the library.
Related Topics
Repository API Callback functions