If I have DB2 8.1 (FP5, I believe, but not relevant to my question...I hope)
installed on my desktop, do I have what I need to connect to a remote DB2
server (also running 8.1 FP5) from my desktop machine? I assume, perhaps
naively, that all the parts are there but I've spent several hours trying to
grasp how to go about accessing the remote server.
Specifically, I'm trying to create and populate databases on the remote
server from command line scripts. So, currently I have a file containing SQL
commands to create and populate the database which I invoke using:
db2cmd -c -w -i db2 -t -f <filename>
Works great creating everything on my machine but I'd like to be able to run
the scripts from my machine and have it create and populate the databases on
the remote server.
This is trivial in SQL Server but apparently IBM wants to make sure that its
DBA's continue to make lots of money.
Can anyone let me know if this is even possible given my current
configuration and, if so, provide a simple step-by-step description of how
to achieve it?
Thanks,
Doug Harber