DISCONNECT Statement

Terminates the SQL explicit pass-through session with the server SQL processor.

Valid in: SPD Server

Syntax

DISCONNECT FROM [engine-name | alias];

Required Arguments

engine-name

the name specified in the CONNECT statement that established the connection.

alias

the alias value specified in the CONNECT statement that established the connection.

Details

When you no longer need the PROC SQL connection to the server, you must disconnect from the server SQL processor. You are automatically disconnected when you exit PROC SQL. However, you can explicitly disconnect by using the DISCONNECT statement
Last updated: February 8, 2017