The OLAPOPERATE Procedure

Closing a Session

You can close an OLAP session using the CLOSE SESSION statement.
CLOSE SESSION id | _ALL_ [USER=user-name ] [CUBE=cube-name]
[INACTIVE=seconds];
The ID is the unique session identifier returned from the LIST SESSIONS statement. The session is closed on the server. If the _ALL_ keyword is specified, then all open sessions are closed. If the USER option is specified, then only sessions owned by the specified user are closed. If the CUBE option is specified, then only sessions that have the specified cube open are closed. If the INACTIVE option is specified, then only sessions inactive for the specified seconds are closed.