Allk versions of Installshield have native ODBC Setup API support. I don't
know which version of InstallSheld you're using, but in all cases, I'm sure
the InstallShield online help will be quite capable of answering your
questions. There is almost nothing DB2 specific about it, and if you
catalogue the ODBC database on your development system, you can just
drag-and-drop the settings into your InstallShield setup. If you have any
further questions on using InstallShield, I suggest you try their online
help, web site, knowledgebase and/or forums for the particular version
you're using.
As for the DB2 run-time client, these are required for DB2 access; either
you install it, or you look for a third party equivalent. Without a DB2 ODBC
driver there is no DB2 access. The IBM runtime client is probably your
simplest option, as it comes with the product.
"Jacob Pallapati" <ja************@hotmail.com> wrote in message
news:ee**************************@posting.google.c om...
Hi Mark,
Thank you very much for the response. I am actually trying to catalog
the database from InstallShield. I am new to db2 and do not know how
to catalog the database, except using the db2 catalog command. Can you
tell me how this can be done. Also is there a way to register odbc
connections on systems not having db2. I know that I will need to
install the drivers some how. I do not want to install even the run
time clients on these machines.
Thanks,
Jake
"Mark Yudkin" <my***********************@nospam.org> wrote in message
news:<bt**********@ngspool-d02.news.aol.com>...
Use the Data Sources (ODBC) Administrative Tool in the Windows 2K / XP
Administration folder (NT4: Control Panel).
There is no command line tool that allows access to all of the
parameters. The ODBC SETUP API makes it easy to do so. Also, when you prepare your
application for distribution, installer generators such as InstallShield
and WISE make ODBC cataloguing trivial.
"Jacob Pallapati" <ja************@hotmail.com> wrote in message
news:ee*************************@posting.google.co m... 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