Known problems and workarounds

8 8 8

The "db2gcf -k" command fails on DB2 UDB Workgroup Server Edition

8
8Problem 8

The db2gcf command starts, stops, or monitors a DB2 Universal Database (UDB) instance, usually from an automated script, such as in an HA (high 8availability) cluster.

8

Using the db2gcf system command with the -k parameter on DB2 UDB Workgroup Server will fail.

8
8Workaround 8

The "db2gcf -k" command works only on DB2 UDB Enterprise Server Edition and not 8on DB2 UDB Workgroup Server Edition.

7 7 7

SQL1224 error from DRDA wrapper (AIX)

7

If a 32-bit DB2 Universal Database (UDB) server is run 7on an AIX system and an application running on the same system has more than 7one local database connection through the DRDA wrapper, then the application might get 7the following error:

7
SQL1822N  Unexpected error code "-1224" received from 
7data source "W3_SERVER2". 
7Associated text and tokens are 
7  func="DriverConnect" 
7  msg="SQL1224N  A database agent could not be started to 
7                 service a request, or was terminated as 
7                 a result of a database system shutdown 
7                 or a force command. "
7SQLSTATE=560BD
7

To avoid this error, put the following entry in the federated configuration 7file (instance_directory/cfg/db2dj.ini):

7
EXTSHM=ON
7 7
Note:
7
When you add entries to the federated 7configuration file, you must stop and restart DB2 UDB for the changes to take effect.
7

Alternately, you can catalog the local DB2 UDB database as being on a TCP/IP node. 7For example:

7
CATALOG TCPIP NODE my_node REMOTE my_host SERVER 123;
7CATALOG DB mydb AT NODE my_node;
7CREATE WRAPPER drda;
7CREATE SERVER my_server TYPE DB2/UDB VERSION 8 WRAPPER drda
7   AUTHORIZATION "my_id" PASSWORD "my_pw"
7   OPTIONS(ADD DBNAME 'MYDB');
7 7 7

Hotkeys not working in Microsoft Visual Studio .NET Framework 71.1

7

If your hotkeys are not working in Microsoft Visual Studio .NET Framework 71.1, you can download a hotfix from the Microsoft Web site. You can find the hotfix 7in the Microsoft Knowledge Base, article Q836745.

The simplified Chinese locale (AIX)

3AIX has changed the code set bound to the simplified Chinese locale Zh_CN 3on:

3

The code set has been changed from GBK (code page 1386) to GB18030 (code 3page 5488 or 1392). Since DB2 Universal Database (UDB) for AIX supports the 3GBK code set natively and the GB18030 code set via Unicode, DB2 UDB will default 3the Zh_CN locale's code set to ISO 8859-1 (code page 819), and in some operations 3will also default the locale's territory to the United States (US).

To work around this limitation, you have two options:

If you choose to use the first option, issue the following commands:

db2set DB2CODEPAGE=1386
db2set DB2TERRITORY=86
db2 terminate
db2stop
db2start 

If you choose to use the second option, change your locale from Zh_CN to either ZH_CN or zh_CN. The ZH_CN locale's code set is Unicode (UTF-8), while the zh_CN locale's code set is eucCN (code page 1383).

5The simplified Chinese locale (Red Hat Linux)

5Red Hat Version 8 and later (including Red Hat Enterprise Linux [RHEL] versions 2.1 and 3) have changed the default code set for 5simplified Chinese from GBK (code page 1386) to GB18030 (code page 5488 or 51392).

3Since DB2 Universal Database (UDB) for Linux supports 3the GBK code set natively and the GB18030 code set via Unicode, DB2 UDB will default 3its code set to ISO 8859-1 (code page 819), and in some operations will also 3default its territory to the United States (US).

3To work around this limitation, you have two options:

3

If you choose to use the first option, issue the following commands:

3
db2set DB2CODEPAGE=1386
3db2set DB2TERRITORY=86
3db2 terminate
3db2stop
3db2start 

If you choose to use the second option, issue any one of the 3following commands:

3
export LANG=zh_CN.gbk
3export LANG=zh_CN
3export LANG=zh_CN.utf8

where the code set associated with zh_CN is eucCN 3or code page 1383, and with zh_CN.utf8 is code page 1208.

5 5 5

Merant Driver Manager incompatibility (UNIX)

5

There are incompatibilities with Unicode support when the Merant Driver 5Manager accesses the DB2 ODBC driver on UNIX. These incompatibilities cause the 5Merant Driver Manager to use Unicode even if the application did not request 5Unicode use. This situation can lead to problems with components such as the 5Data Warehouse Center, Information Catalog Manager, and MQSI, which require 5the Merant Driver Manager to support non-IBM data sources. You can use an 5alternate DB2 ODBC driver library without Unicode support enabled until a permanent 5solution is available.

5

An alternative DB2 ODBC driver library without Unicode support enabled 5is included with DB2 Universal Database (UDB) Version 8.1 for AIX, 5HP-UX, and Solaris Operating Environment. To use this alternative library, 5you must create a copy of it, giving the copy the original DB2 ODBC driver 5library's name.

5 5
Note:
5
The alternative (_36) library contains the 5Unicode functions required by the DB2 JDBC driver. Using this library allows 5JDBC applications, including WebSphere Application Server, to work successfully 5with DB2 UDB.
5

To switch to the non-Unicode ODBC library on AIX, HP-UX, or the Solaris Operating Environment, 5see the following instructions. Because this is a manual process, you must 5carry it out every time you update your product, including after the application 5of successive FixPaks or modification levels.

5
5Procedure 5

5
5
AIX
5
5

To create the alternate library on AIX:

5
    5
  1. As the instance owner, shut down all database instances using the db2stop force command.
  2. 5
  3. Using the DB2 administration server (DAS) instance ID, shut down the DAS instance 5using the db2admin stop force command.
  4. 5
  5. Back up the original db2.o file in the /usr/lpp/db2_81/lib directory.
  6. 5
  7. Using root authority, issue the slibclean command.
  8. 5
  9. Copy file db2_36.o to backup file db2.o, ensuring that ownership and permissions 5remain consistent. Use the following commands: 5
    cp db2_36.o db2.o
    5-r--r--r-- bin:bin for db2.o
5

To switch back to the original object, follow the same procedure 5using the backup file instead of the db2_36.o file.

5
5
Solaris Operating Environment
5
5

To create the alternate library in a Solaris Operating Environment:

5
    5
  1. As the instance owner, shut down all database instances using the db2stop force command.
  2. 5
  3. Using the DB2 administration server (DAS) instance ID, shut down the DAS instance 5using the db2admin stop force command.
  4. 5
  5. Back up the original libdb2.so.1 file in 5the /opt/IBMdb2/V8.1/lib directory.
  6. 5
  7. Copy file libdb2_36.so.1 to backup file libdb2.so.1, ensuring that ownership and permissions 5remain consistent. Use the following commands: 5
    cp libdb2_36.so.1 libdb2.so.1 
    5-r-xr-xr-x bin:bin libdb2.so.1
  8. 5
  9. Issue the db2iupdt <instance> command for 5each database instance and the dasupdt <das_instance> command for the DAS instance.
5

To switch back to the original object, follow the same procedure 5using the backup file instead of the libdb2_36.so.1 file.

5
5
HP-UX PA-RISC
5
5

To create the alternate library on HP-UX PA-RISC:

5
    5
  1. Shut down all database instances using the db2stop 5force command.
  2. 5
  3. Shut down the DB2 administration server (DAS) instance using the db2admin stop force command.
  4. 5
  5. Back up the original libdb2.sl file in the /opt/IBMdb2/V8.1/lib directory.
  6. 5
  7. Copy file libdb2_36.sl to backup file libdb2.sl, ensuring that the ownership and permissions 5remain consistent. Use the following command to ensure the consistency: 5
    cp libdb2_36.sl libdb2.sl
    5-r-xr-xr-x bin:bin for libdb2.sl
  8. 5
  9. Issue the db2iupdt <instance> command for 5each database instance and the dasupdt <das_instance> command for the DAS instance.
5

To switch back to the original object, follow the same procedure 5using the backup file instead of the libdb2_36.sl file.

5
5
HP-UX on IA64
5
5

To create the alternate library on HP-UX on IA64:

5
    5
  1. Shut down all database instances using the db2stop 5force command.
  2. 5
  3. Shut down the DB2 administration server (DAS) instance using the db2admin stop force command.
  4. 5
  5. Back up the original libdb2.so file in the /opt/IBMdb2/V8.1/lib directory.
  6. 5
  7. Copy file libdb2_36.so to backup file libdb2.so, ensuring that the ownership and permissions 5remain consistent. Use the following command to ensure the consistency: 5
    cp libdb2_36.so libdb2.so
    5-r-xr-xr-x bin:bin for libdb2.so
  8. 5
  9. Issue the db2iupdt <instance> command for 5each database instance and the dasupdt <das_instance> command for the DAS instance.
5

To switch back to the original object, follow the same procedure 5using the backup file instead of the libdb2_36.so file.

5
5
Other UNIX Operating Systems
5
5

Contact IBM Support if you require assistance with DB2 UDB and the 5Merant Driver Manager on other UNIX operating systems.

5
5
2 2 2

NFS APAR IY32512 - Unavailable threads (AIX)

2

AIX 5 NFS APAR IY32512 might cause the db2stop command to stop on systems with a large number of partitions.

2

On a server that is receiving large numbers of requests for blocking locks 2on files that are already locked, the lock daemon might become unresponsive. 2This situation occurs when all available locked threads are allocated to threads 2that are waiting for the locks to become available, so there is no thread 2available to pick up the work when the unlock request is made.

2

When this situation occurs the stopped nodes must be restarted. There 2is a DB2 Universal Database workaround for this situation by 2stopping the nodes one at a time using the NODENUM option of the db2stop command.

4 4 4

SQLFLAG (STD) precompiler option error

4

If the SQLFLAG(STD) precompile option is enabled, it will cause the following 4error: Abend C6 occurred while running Precompile program DSNHPC

4

Remove the SQLFLAG (STD) precompile option when using the Development Center 4to create SQL stored procedures to run on DB2 Universal Database for z/OS, Version 8.

7 7 7

DB2 Connect Custom Advisor

7

Despite being documented in the DB2 Connect User's 7Guide, the DB2 Connect Custom Advisor is no longer supported in Version 78.2.

8 8 8

Tools catalog database creation fails (HP-UX)

8
8
Problem
8
When installing DB2 Universal Database (UDB) Version 8.2 on 8HP-UX, the CREATE TOOLS CATALOG command fails with SQLCODE -22209 if it runs 8under a 32-bit instance and the DB2 Administration Server jdk_path configuration 8parameter points to the HP-UX SDK 1.4. The failure occurs because DB2 UDB Version 88.2 installs the HP-UX SDK 1.4 by default but the Version 8.2 32-bit instance 8requires the HP-UX SDK 1.3 to run the CREATE TOOLS CATALOG command successfully. 8

This failure can also occur when installing DB2 UDB Version 8.1 FixPak 7 if you manually 8updated the DB2 Administration Server jdk_path configuration parameter 8to point to the HP-UX SDK 1.4, or if you dropped and recreated the DB2 Administration 8Server (DAS). The failure occurs because, in either of these cases, the jdk_path configuration parameter changed to point to the HP-UX SDK 1.4.

8

A DB2 UDB Version 8.2 32-bit instance requires HP-UX SDK 1.3 to run successfully.

8
8
Workaround 1
8
Create the tools catalog under a 64-bit instance. 8
8
Workaround 2
8
Create the tools catalog under a 32-bit instance by performing the following 8steps: 8
    8
  1. Download the HP-UX SDK 1.3 from the HP-UX Web site: http://www.hp.com/products1/unix/java/
  2. 8
  3. Install the HP-UX SDK 1.3.
  4. 8
  5. Update the DB2 Administration Server jdk_path configuration parameter 8to point to the HP-UX SDK 1.3. For example: 8
    db2 update admin config using JDK_PATH /opt/java1.3
  6. 8
  7. Restart the DB2 Administration Server. 8
    db2admin stop
    8db2admin start
  8. 8
  9. Re-run the CREATE TOOLS CATALOG command under the 32-bit instance.
8
8

Displaying Indic characters in the DB2 GUI tools

If you have problems displaying Indic characters when using the DB2 GUI tools, you might not have the required fonts installed on your system.

DB2 Universal Database (UDB) has packaged the following IBM TrueType and OpenType proportional Indic language fonts for your use. You can find these fonts in the font directory on any of the following CDs:

These fonts are to be used only in conjunction with DB2 UDB. You cannot engage in the general or unrestricted sale or distribution of these fonts:

Table 9. Indic fonts packaged with DB2 UDB
Typeface Weight Font File Name
Devanagari MT for IBM Medium devamt.ttf
Devanagari MT for IBM Bold devamtb.ttf
Tamil Medium TamilMT.ttf
Tamil Bold TamilMTB.ttf
Telugu Medium TeluguMT.ttf
Telugu Bold TeleguMTB.ttf

Detailed instructions on how to install the fonts and modify the font.properties file can be found in the Internationalization section of the IBM Development Kit for Java documentation.

In addition, the following Microsoft products come with Indic fonts that can be used with DB2 GUI tools:

GUI tools are not supported for zSeries servers (Linux)

With the exception of the DB2 Setup wizard, the GUI tools will not work on zSeries servers running the Linux operating system. This limitation includes any items normally launched from the Installation launchpad, such as the Quick Tour.

If you want to use the GUI tools with one of these systems, install the administrative tools on a client system with a different system configuration, and use this client to connect to your zSeries server.

7 7 7

Enclose DB2 Information Center search terms within quotation marks 7if they contain numbers

7

To get accurate search results in the DB2 Information Center you must enclose search 7terms that include numbers within quotation marks.

7

For example, if you search for the following term you will receive no results:

7
  1.4.1
7

However, if you enclose the term within quotation marks, you receive the 7appropriate results:

7
  "1.4.1"
7

A search for the following term will return extra topics:

7
  DB20000I
7

But a search on the following term works properly:

7
  "DB20000I"
4 4 4

Information Catalog Center log file not generated when importing tag 4language files

4

If an Information Catalog Center log file is not generated when you import 4tag language files to the Information Catalog Center, perform the following 4troubleshooting steps:

4
4
When running db2icmimport from a command line:
4
4 4
4
4
4
When importing tag language files using the Information Catalog 4Center GUI:
4
4 4
4
6 6 6

Binding Query Patroller packages

6

If the Query Patroller packages are not bound after applying a fixpak, 6a user without DBADM authority or proper Query Patroller privileges can encounter 6the following error when using the Query Patroller Center or Query Patroller 6command line:

6
SQL0001N - Binding or precompilation did not complete successfully.

If you are using the Query Patroller Center, the SQL0001N error is logged 6in qpdiag.log file. If you are using the Query Patroller command line, the 6SQL0001N is returned to the console

6

Auto-bind code exists to initiate automatic binding. However, the automatic 6binding fails when the connecting user does not have the necessary privileges 6to execute all statements in the Query Patroller packages. A symptom of this 6problem is missing folders in the Query Patroller Center.

6

To avoid this problem, the qpserver.lst packages should be bound manually 6by a user with DBADM authority or necessary privileges after applying a fixpak.

9 9 9

Unavailability of ports with Query Patroller (Windows)

9

Submitted queries in Query Patroller might receive SQL code -29007 when 9there are no more available ports on Windows XP or Windows 2003. 9The likelihood of this error increases with an increasing number of clients 9accessing Query Patroller.

9
9Problem 9

The registry variables, MaxUserPort and TcpTimedWaitDelay, are used to 9set the maximum available ports that Query Patroller can use and the communication 9time out period, respectively. These variables are not added by default in 9Windows Server 2003 or Windows XP, so they need to be set manually as follows:

9
   MaxUserPort=65534
9   TcpTimedWaitDelay=30 
9
9Workaround 9

You will need to restart your system after completing the steps outlined 9below.

9

Use the Windows Registry Editor to create these registry variables in the 9path HKey_Local_Machine\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters:

9
    9
  1. Open the Registry Editor: Click Start -> Run -> type regedit -> click OK.
  2. 9
  3. Locate the HKey_Local_Machine\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters folder.
  4. 9
  5. Right-click the HKey_Local_Machine\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters folder and select New -> String Value.
  6. 9
  7. Type MaxUserPort.
  8. 9
  9. Right-click the new registry key and select Modify.
  10. 9
  11. Type 65534 in the Value Data field and click OK.
  12. 9
  13. Repeat steps 3 through 6, entering TcpTimedWaitDelay as the registry key and 30 as the string 9value.
  14. 9
  15. Close the Windows Registry Editor.
  16. 9
  17. Restart your system for the changes to take effect.
9

For further information on the TcpTimedWaitDelay registry variable, visit 9the MSDN Web site:

9

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/randz/protocol/tcp_time-wait_delay.asp

1 1 1

Secure environments (Windows)

1

You might experience file permission problems if you are using DB2 Universal Database (UDB) on Windows and are not an administrator on the Windows system. 1If you receive an SQL1035N, SQL1652N, or SQL5005C error message, possible 1causes and workarounds are shown in the following information:

1
1User does not have sufficient authority on the sqllib directory 1

1
1
Problem
1
User receives an SQL1035N or SQL1652N error when trying to open the DB2 CLP 1or command window. The DB2 UDB code (core files) are installed into a directory 1structure where write privileges are limited, but some DB2 UDB tools need 1to write and create files in the DB2INSTPROF directory. 1
1
Workaround
1
Create a new directory where you can grant users, at minimum, the MODIFY 1permission and use either db2set -g db2tempdir to 1point to the new directory, or set the db2tempdir variable in the Windows system 1environment. 1
1
1
1User does not have sufficient authority to write to the sqllib\<instance_dir> 1directory even though user belongs to SYSADM_GROUP 1

1
1
Problem
1
User receives an SQL5005C system error when trying to update the database 1manager configuration file (update dbm cfg). The user does not have the required 1NTFS permissions to write to the sqllib\instance_dir directory even 1though you have added this user to the SYSADM_GROUP. 1
1
First workaround
1
1

Grant the users, at minimum, the MODIFY permission on the instance_dir directory at the file system level.

1
1
Second workaround
1
Create a new directory where you can grant the user, at minimum, the 1MODIFY permission. Use the db2set db2instprof command 1to point to the new directory. You will need either to recreate the instance 1so that the information is stored under the new instance directory specified 1by db2instprof, or you will need to move the old instance directory to the 1new directory. 1
1
2 2 2

XML Extender sample programs renamed

2

Some XML Extender sample programs might have the same name as other installed 2programs. Accidentally invoking another program with the same name as an 2XML Extender sample program can damage your XML files. The following list 2shows the old XML Extender sample program names as well as new replacement 2program names that are less likely to cause conflicts. Make sure you use 2the new sample program names instead of the old ones to prevent damaging your 2XML files.

2 2222222222222222222222222222222222222222222
Table 10. Replacement sample programs for XML Extender (Windows)
Old Program (Do not use) New Program (Use)
insertx.exe dxxisrt.exe
retrieve.exe dxxretr.exe
retrieve2.exe dxxretr2.exe
retrievec.exe dxxretrc.exe
shred.exe dxxshrd.exe
tests2x.exe dxxgenx.exe
tests2xb.exe dxxgenxb.exe
tests2xc.exe dxxgenxc.exe
2 2222222222222222222222222222222222222222222
Table 11. Replacement sample programs for XML Extender (Linux and UNIX)
Old Program (Do not use) New Program (Use)
insertx dxxisrt
retrieve dxxretr
retrieve2 dxxretr2
retrievec dxxretrc
shred dxxshrd
tests2x dxxgenx
tests2xb dxxgenxb
tests2xc dxxgenxc
2 2

Using the new sample programs with the sample sqx files

2

The source code (.sqx files) for the executables listed previously are 2located in the samples\db2xml\c directory of your installation. 2The source files are still labeled with their old names. If you make changes 2to the source code, copy your newly compiled executables (with the old names) 2to the sqllib\bin directory.

2

On Windows platforms, you must make an additional copy, 2rename it with its new name above, and copy it to the bin directory. Both 2copies replace the existing files in the bin directory. For example, after 2compiling your new version of shred.exe, you need to make two copies and replace 2the files in the bin directory: one labeled shred.exe and the other renamed 2dxxshrd.exe.

2

On Linux and UNIX platforms, you need only to replace the file with the old 2name with your newly compiled version. If you create new executable files 2from these samples, you must copy the new files from the \SQLLIB\samples\db2xml\c\ directory into the \SQLLIB\bin\ directory, and then make 2an additional copy, renaming them according to the previous table.

4 4 4

Decomposing documents in XML Extender that contain non unique attribute 4and element names

4

You can now decompose documents that contain non-unique attributes or non-unique 4element names that map to different columns (of the same or different tables) 4without receiving the DXXQ045E error. The following is an example of an XML 4document with non-unique attributes and non-unique element names:

4
<Order ID="0001-6789">
4       <!-- Note: attribute name ID is non-unique -->
4       <Customer ID="1111">
4                    <Name>John Smith</Name>
4       </Customer>
4       <!-- Note: element name Name is non_unique -->
4       <Salesperson ID="1234"> 
4              <Name>Jane Doe</Name>
4       </Salesperson>
4       <OrderDetail>
4              <ItemNo>xxxx-xxxx</ItemNo>
4              <Quantity>2</Quantity>
4              <UnitPrice>12.50</UnitPrice>
4       </OrderDetail>
4       <OrderDetail>
4              <ItemNo>yyyy-yyyy</ItemNo>
4              <Quantity>4</Quantity>
4              <UnitPrice>24.99</UnitPrice>
4       </OrderDetail>       
4</Order>

The accompanying DAD, which maps the duplicate elements and 4attributes to different columns, looks like this:

4
<element_node name="Order">
4  <RDB_node>
4    <table name="order_tab" key="order_id"/>
4    <table name="detail_tab"/>
4    <condition>
4      order_tab.order_id=detail_tab.order_id
4    </condition>
4  </RDB_node>
4
4  <!--attribute ID duplicated below, but mapped to a different col-->
4  <attribute_node name="ID">
4    <RDB_node>
4      <table name="order_tab" />
4      <column name="order_id" type="char(9)"/>
4    </RDB_node>
4  </attribute_node>
4  
4  <element_node name="Customer">
4    <!--attribute ID duplicated above, but mapped to a different col-->
4    <attribute_node name="ID">
4      <RDB_node>
4        <table name="order_tab" />
4        <column name="cust_id" type="integer"/>
4      </RDB_node>
4    </attribute_node>
4
4    <!--element name duplicated below, but mapped to a different col-->
4    <element_node name="Name"> 
4      <text_node>
4        <RDB_node>
4          <table name="order_tab" />
4          <column name="cust_name" type="char(20)" />
4        </RDB_node>
4      </text_node>
4    </element_node>
4  </element_node>
4    
4  <element_node name="Salesperson">
4    <!--attribute ID duplicated above, but mapped to a different col-->
4    <attribute_node name="ID">
4      <RDB_node>
4        <table name="order_tab" />
4        <column name="salesp_id" type="integer"/>
4      </RDB_node>
4    </attribute_node>
4          
4    <!--element name duplicated above, but mapped to a different col--> 
4    <element_node name="Name"> 
4      <text_node>
4        <RDB_node>
4          <table name="order_tab" />
4          <column name="salesp_name" type="char(20)" />
4        </RDB_node>
4      </text_node>
4    </element_node>
4  </element_node>
4    
4  <element_node name="OrderDetail" multi_occurrence="YES">
4    <element_node name="ItemNo">
4      <text_node>
4        <RDB_node>
4          <table name="detail_tab" />
4          <column name="itemno" type="char(9)"/>
4        </RDB_node>
4      </text_node>
4    </element_node>
4    <element_node name="Quantity">
4      <text_node>
4        <RDB_node>
4          <table name="detail_tab" />
4          <column name="quantity" type="integer"/>
4        </RDB_node>
4      </text_node>
4    </element_node>
4    <element_node name="UnitPrice">
4      <text_node>
4        <RDB_node>detail_tab" />
4          <table name="detail_tab" />        
4          <column name="unit_price" type="decimal(7,2)"/>
4        </RDB_node>
4      </text_node>
4    </element_node>
4  </element_node>
4</element_node>

The contents of the tables would look like the following 4sample after the preceding document is decomposed:

4
ORDER _TAB:
4
4ORDER_ID       CUST_ID       CUST_NAME       SALESP_ID       SALESP_NAME
40001-6789      1111          John Smith      1234            Jane Doe
4
4DETAIL_TAB:
4
4ORDER_ID          ITEMNO         QUANTITY          UNIT_PRICE
40001-6789         xxxx-xxxx      2                 12.50
40001-6789         yyyy-yyyy      4                 24.99
4 4
Note:
5 5
To map multiple elements and attributes to the same column of the 5same table, define an alias for the table and use the alias in the DAD <table> 5element of one of the mappings.
45 5 5

Differences between SNA and TCP/IP when using DB2 Connect

5

When connecting to an OS/390 system using SNA, the host VTAM layer automatically 5 flows a commit when a new connection is made. The automatic commit allows 5the host side thread state to be inactive, and the thread immediately becomes 5 inactive.

5

However, when connecting to an OS/390 system using TCP/IP, there is no automatic 5 commit. The application itself must flow an explicit commit after the connection 5 to allow the thread to be inactive on the host. Without the explicit commit, 5the thread is subject to an idle thread time out.

5

The suggested workaround is to rewrite the application so that it will 5perform an explicit commit if the connection goes idle after the connection.

[ Top of page |Previous page | Next page | Contents ]