Hi experts, I'm trying to set up a script that can do my initial setup from one machine. But I'm stuck on the syntax because up to now, I've just hopped over to the server and set up the database locally on the server first, then back to the client box for the rest of teh setup. However, I'd like to automate this. so....
given that I have 2 machines: dbServer and dbClient. I can run
C:\dbClient>db2 catalog tcpip node TESTNODE remote dbServer server 50000
<< I need the command to create the remote database >>
C:\dbClient>db2 catalog database MYDATABASE at TESTNODE
C:\dbClient>db2 connect to MYDATABASE
I'm setting the points high here as time is of the essence.