DROP DSN Statement

The DROP DSN statement enables you to drop a server-based DSN.
DROP DSN dsn-name [FORCE]

dsn-name

Specifies the name of the DSN.

FORCE Specifies the optional FORCE keyword that will suppress error messages when the DSN does not exist.
Examples:
DROP DSN "DSN1"
DROP DSN "DSN1" FORCE