JDBC Server Programmer's Reference
// 
// Usage:
//
// java TestClient -table SQLTable [-port PortNumber] [-server ServerHost]
//
// SQLTable is the name of an existing NonStop SQLMP database table.
//
// PortNumber is the port number of the RMI Registry. The default, if not
// supplied, is 1099.
//
// ServerHost is the name of the server where the NonStop SQLMP database 
// resides. If not supplied, it defaults to the local system.
public class TestClient { 
public static void main(String args[]) { 
 int i;
 String arg = null;
 String port = null;
 String server = null;
 String table = null;
 String serverHost = null;
 String databaseUrl = null; 
 String rmiJdbcUrl = null;
 String ConnectionUrl = null;
 String userId = null;
 String password = null;
 boolean argOK = false;
 try { 
 // Load the Type 3 Client Driver. 
 // On some platforms with some java VMs, newInstance() is necessary. 
 Class.forName("com.tandem.jdbc.t3client.driver").newInstance(); 
 // Process any arguments
 i = 0;
 while(i < args.length) {
 argOK = false;
 arg = args[i++];
 // -table
 if(arg.equals("-table")) {
 if(args.length <= i) {
 System.out.println("Usage: -table SQLTable [-port PortNumber] \
> [-server ServerHost]");
 System.exit(1);
 }
 table = new String(args[i++]);










