Modifying the XBSA environment within a session
The XBSA environment is created when the session is initiated. A couple of the variables, like BSA_API_VERSION and NBBSA_LOG_DIRECTORY, cannot be changed once the session has started. Many of the other variables can still be modified. If the XBSA application is going to set BSA_SERVICE_HOST, NBBSA_CLIENT_HOST, NBBSA_POLICY, or NBBSA_SCHEDULE, this needs to be done outside of a transaction, either before the first transaction or between transactions.
Once within a session, the XBSA environment can be updated with either NBBSASetEnv() or NBBSAUpdateEnv(). These are extensions to the XBSA specification. NBBSASetEnv() is used to set an individual XBSA environment variable and NBBSAUpdateEnv() updates the entire XBSA environment.