The OLAPOPERATE Procedure

Disconnecting from an OLAP Server

You can disconnect from the current SAS OLAP server with the DISCONNECT statement. After you have disconnected from the server, the only other statement that you can execute is the CONNECT statement to connect to another (or the same) server.
When the OLAPOPERATE procedure is terminated with the QUIT or the RUN statement, an automatic server disconnection is executed. It is not necessary to explicitly disconnect from the server before terminating the procedure.
DISCONNECT;