Microsoft KB Archive/890353

From BetaArchive Wiki

Article ID: 890353

Article Last Modified on 12/4/2007



APPLIES TO

  • Microsoft Host Integration Server 2004 Standard Edition



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

When you use languages that are read from right to left, the characters appear reversed. For example, a data string appears left to right instead of the correct right-to-left orientation. You may experience these symptoms when the following conditions are true:

  • You use the Microsoft OLE DB Provider for DB2 that is included with Microsoft Host Integration Server 2004.
  • You configure the OLE DB Provider for DB2 to use languages that are aligned right to left. For example, you configure the OLE DB Provider for DB2 to use the Arabic or Hebrew languages by using one of the following EBCDIC code pages:
    • Arabic 20240
    • Hebrew 20420


CAUSE

This problem occurs if the mainframe program reverses the string value before the mainframe program stores the value in the DB2 database. For example, the mainframe program may use code page 20420 to reverse the string value.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

   Date         Time   Version     Size    File name
   ----------------------------------------------------
   03-Dec-2004  02:25  6.0.1916.0  36,352  Trnsbidi.dll  

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This hotfix enables the CP420PhysicalStorage registry value. You can use this registry value to define how the OLE DB Provider for DB2 treats the string data according to the physical storage. By default, after you apply this hotfix, Host Integration Server 2004 reverses the string data that is sent to the mainframe or received from the mainframe. However, for some mainframe programs, you may not want Host Integration Server 2004 to reverse the string data.

To force Host Integration Server 2004 to process the string data without reversing the data, add the CP420PhysicalStorage registry value to the Host Integration Server 2004-based computer. To create the registry value, follow these steps:

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Host Integration Server

  3. Right-click Host Integration Server, point to New, and then click DWORD Value.
  4. Type CP420PhysicalStorage as the name of the registry value, and then press ENTER.
  5. Double-click CP420PhysicalStorage, type 1 in the Value data box, and then click OK.

To return Host Integration Server to the default value and reverse the string data, set the CP420PhysicalStorage registry value to 0.

For more information about standard terminology that is used to describe software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates



Additional query words: HIS flips SNANLS TransBiDi BiDirection

Keywords: kbbug kbfix kbinterop kbqfe kbdatabase kbusage kbhotfixserver KB890353