The SqlhUpload utility

This utility loads the sqlhosts entries from a flat ASCII file to the LDAP server in the prescribed format.

Note: The SqlhUpload utility is not supported starting 4.50.JC10 .
Enter the following command:
java SqlhUpload sqlhfile.txt host-name:port-number [sqlhostsRdn]
The parameters have the following meanings:
  • The sqlhosts file to be uploaded is sqlhfile.txt.
  • The host name and port number of the LDAP server is host-name:port-number.
  • The RDN (relative distinguished name) of the sqlhosts node under the HCL Informix® base in LDAP is sqlhostsRdn. The default name is sqlhosts.

The utility prompts for other required information, such as the Informix base distinguished name (DN) in the LDAP server, the LDAP user, and the password.

You must convert the servicename field in the sqlhosts file to a string that represents an integer (the port number), because the Java™.Socket class cannot accept an alphanumeric servicename value for the port number. For more information about the servicename field, see the Informix Administrator's Guide for your database server.