Hi,
I need to create an ODBC connection for one of my databases from the
command line. I could use db2 catalog system odbc database source
<my-database>. But I want to create a DSN with a name different from
the name of the database. For instance if my database name is SAMPLE i
want to create a dsn with name sample_database . Please let me know if
there is a way to do this from the command line. As far as I can see
db2 catalog command does not allow me to do this. Any help will be
appreciated.
Thanks,
Jacob
I need to create an ODBC connection for one of my databases from the
command line. I could use db2 catalog system odbc database source
<my-database>. But I want to create a DSN with a name different from
the name of the database. For instance if my database name is SAMPLE i
want to create a dsn with name sample_database . Please let me know if
there is a way to do this from the command line. As far as I can see
db2 catalog command does not allow me to do this. Any help will be
appreciated.
Thanks,
Jacob
Comment