Ok, this was my error. Pointed out by Allen Jin on email.
I was not giving space between set and -dsn. So the command I entered was: set-dsn. It should be set -dsn. (The command is "set" so should be followed by a space and then the argument is -dsn followed by the number).

Thanks Allen !