Troubleshooting Guide

Troubleshooting Tips for DB2 Connect

This section describes how to deal with some frequent problems faced by users when trying to connect to host databases using DB2 Connect. It addresses the following topics:

Problems Encountered after Initial Connection

If you installed a client and could make an initial connection, but then experience a problem with it later, use the following checklist as a starting point to narrow down the scope of the problem.

Can you establish a host session?

[  ]
See Troubleshooting Host Connections.

[  ]
If you suspect a problem with your communication protocol, see Chapter 3, Troubleshooting on the Client.

Are there any special or unusual operating circumstances?

[  ]
Is this a new application?

[  ]
Are new procedures being used?

[  ]
Have any of the software products or applications been changed since the application or scenario last ran successfully?

[  ]
For application programs, what application programming interfaces (APIs) are called?

[  ]
Have other applications that use the software or communication APIs been run on the user's system?

[  ]
Are there recent changes that might be affecting the system? For example, has maintenance been applied?

Is there relevant diagnostic information?

[  ]
Were any SQL messages or SQL states returned? To look up an SQL state or SQL code, see the Message Reference.

[  ]
Check the db2diag.log file on the server, particularly for SQLCA information. For more details, see First Failure Data Capture.

Changing the Number of Connections

To change the number of connections that a DB2 Connect Enterprise Edition gateway supports:

VTAM and Communications Server will negotiate how many DRDA connections are allowed (with a minimum of two). DB2 for MVS/ESA allows only the number of connections defined in the DSNZPARM dataset.

Authentication Problems

Your operating system and communications products may affect the authentication of DB2 Connect sessions. For information, see the Administration Guide: Implementation.

Note that:

SQL1403N When Issuing a Connect to DB2 for MVS/ESA

Symptom
The SQL1403N message occurs when a DB2 Connect client tries to connect to DB2 for MVS/ESA using DCS authentication.

Possible Cause
System tables are not set up correctly in DB2 for MVS/ESA to process the incoming request.

Action
Ensure that entries are correct in the SYSIBM.SYSLUNAMES and SYSIBM.SYSUSERNAMES tables.

For more information, see the MVS Server worksheet in the DB2 Connect Enterprise Edition for OS/2 and Windows Quick Beginnings.

SQL1402N and SQL30082N When Connecting to DB2 for MVS/ESA

Symptom
The SQL1402N and SQL30082N messages are received when a client tries to connect to DB2 for MVS/ESA using DB2 Connect.

Possible Cause
You may have established incorrect security authentication between the client, DB2 Connect, and the server.

Action
Specify DCS authentication on your DB2 Connect Enterprise Edition gateway.

If you use SERVER authentication with an OS/2 server, ensure that the user name and password are also defined on the OS/2 server.

Note that the Control Center always assumes SERVER authentication, so you must use the command line processor to set other authentication types.

Windows Clients Do Not Connect

Symptom
The SQL30073N message is received with reason code X'119C' when a Windows client tries to connect to a host database.

Possible Cause
Your host does not recognize the code pages used by your client for one of the following reasons:

Action
If possible, enable the necessary code page support on your host.

If you cannot enable this support, a workaround is to use the DB2CODEPAGE keyword in your client's configuration. For more information, see the section on configuring national language support in the DB2 Connect Enterprise Edition for OS/2 and Windows Quick Beginnings.


[ Top of Page | Previous Page | Next Page ]