14.01.2013 Views

IBM Informix Developer's Handbook - IBM Redbooks

IBM Informix Developer's Handbook - IBM Redbooks

IBM Informix Developer's Handbook - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Windows systems<br />

Use the setnet32 utility to configure an <strong>Informix</strong> instance to use DRDA protocol:<br />

1. Start the setnet32 utility from any command window.<br />

2. Go to Server Information tab (Figure 2-2).<br />

a. Select the required instance from the <strong>IBM</strong> <strong>Informix</strong> Server field. Our<br />

example is demo_my.<br />

b. Change the name of the <strong>Informix</strong> server, and specify a new name for the<br />

DRDA alias, for example demo_my_drda.<br />

c. The HostName field is pre-filled. If it is not, enter your host name or IP<br />

address.<br />

d. Change the Protocolname field from olsoctcp to drsoctcp to make it<br />

DRDA compliant.<br />

e. Change the Service Name field to specify the service name or port<br />

number that the DRDA alias will use.<br />

Figure 2-2 Configuring DRDA support<br />

3. Click Apply, and then click OK.<br />

After adding all the connection details for the DRDA alias, the configuration file<br />

for the <strong>Informix</strong> database server must be updated to link the new server definition<br />

Chapter 2. Setting up an <strong>Informix</strong> development environment 31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!