Configure the Informix Native Client (Windows)
Use the following steps to connect your Informix client on Windows operating systems.
- Log in to the machine that contains the Informix native client.
- Expand your Start and Programs menus.
- Expand the folder associated with your Informix client install.
- Launch the IBM Informix SetNet32 utility.
- Click the Environment tab.
- Ensure that the following environment variables are set:
- INFORMIXDIR - The full path to the root of the local Informix client installation
- INFORMIXSERVER - The name of the target Informix server
- INFORMIXDIR - The full path to the root of the local Informix client installation
- Click the Server Information tab.
- Fill in these fields:
- IBM Informix Server: The Informix server name
- Host Name: The name of the machine on which the database resides
- Protocol Name: Leave the default olsoctcp entry unless OpenLink Product Support or Informix Support instructs you otherwise
- Service Name: This is the Informix socket name.
This value must also appear in the Windows TCP/IP services file, C:\WINDOWS\System32\Drivers\etc\services or C:\WINNT\System32\Drivers\etc\services.
- Options: Leave this field blank
- IBM Informix Server: The Informix server name
- Click the Host Information tab.
- Fill in these fields:
- Current Host: This should match the Host name on the Server Information tab
- User Name: This passes a valid user name for the database to which you are trying to connect.
- Password Option: Choose the appropriate password option for your database
- Password: Fill in this option if you opted to authenticate with a password.
- Current Host: This should match the Host name on the Server Information tab
- Click Apply.
- Click OK.
Test your configuration
- Expand your Start and Programs menus.
- Expand the folder associated with your Informix Client SDK installation.
- Launch the iLogin Demo.
- Expand the File menu.
- Select Run.
- Enter the same authentication parameters that you entered in
SetNet32.
- Click OK.
- Successful connections result in database information being displayed on screen.