Initialization and termination
A BSAInit() call initiates a session. This call sets up a session with the NetBackup XBSA interface and creates a context, defined by handle, for the caller to be used in subsequent calls. The XBSA environment is set up within that context and remains in place until the session is terminated. Nested sessions are not permitted.
A BSATerminate() call terminates a session, which releases any resources that are acquired during the NetBackup XBSA session. If BSATerminate() is called within a transaction, the transaction is aborted.