//CONNECT TO THE SPD SERVER HOST BY USING A CONNECTION PROPERTY LIST Class.forName("com.sas.net.sharenet.ShareNetDriver"); props = new Properties(); props.setProperty("dbms", "SPDS"); props.setProperty("dbmsOptions", "dbq='spdstmp' host='myhost.unx.sas.com' serv=’5400’ "); props.setProperty("shareUser","spduser"); props.setProperty("sharePassword", "spdpw"); props.setProperty("shareRelease", "V9"); connection = DriverManager.getConnection( "jdbc:sharenet://myhost.unx.sas.com:5401", props);
set to SPD Server.
the server domain name (spdstmp
), the server host name (myhost.unx.sas.com
),
and the port number (5400
) assigned to the name server.
the server user ID.
the server user password.
is
set to
V9
.
the server SNET process host name and port number.