DB2 for z/OS and i
Syntax
jdbc:datadirect:db2:// hostname : port ;LocationName= value [; property = value [;...]]
where:
hostname
is the IP address or TCP/IP host name of the server to which you are connecting. See
Using IP Addresses for details on using IP addresses.
port
is the number of the TCP/IP port.
property=value
specifies connection properties. For a list of connection properties and their valid values, see
Connection Properties.
Notes

Untrusted applets cannot open a socket to a machine other than the originating host.
Example
jdbc:datadirect:db2://server1:446;LocationName=Sample;User=test;Password=secret