Microsoft KB Archive/904769

From BetaArchive Wiki
Knowledge Base


FIX: DTS Import/Export Wizard displays the "Table does not exist" error message when you use OLE DB Provider for AS/400 and VSAM to import AS/400 files that contain a period in the file name in Host Integration Server 2004

Article ID: 904769

Article Last Modified on 12/4/2007



APPLIES TO

  • Microsoft Host Integration Server 2004 Standard Edition




SYMPTOMS

DTS Import/Export Wizard in Microsoft SQL Server 2000 displays the following error message:

DTS Import/Export Wizard Error

Error Source: Microsoft OLE DB Provider for AS/400 and VSAM

Error Description: Table does not exist.
Table does not exist. Invalid file name.

Context: Error calling OpenRowset on the provider.

This problem occurs when you use Microsoft OLE DB Provider for AS/400 and VSAM (SNAOLEDB) in Microsoft Host Integration Server 2004 to import IBM AS/400 (iSeries) files that contain a period (.) in the file name.

CAUSE

Microsoft OLE DB Provider for AS/400 and VSAM does not correctly parse AS/400 files that contain a period in the file name.

RESOLUTION

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:



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
   ---------------------------------------------------
   05-Aug-2005  22:27  6.0.1977.0  12,800  Ddmrlio.dll

Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.

STATUS

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

MORE INFORMATION

After you apply this hotfix, Microsoft OLE DB Provider for AS/400 and VSAM correctly parses AS/400 physical files that contain a period in the file name.

The following example shows how the updated Microsoft OLE DB Provider for AS/400 and VSAM works with AS/400 physical files that contain a period in the file name. Assume that the following physical files exist on an IBM AS/400 (iSeries) system:

  • TESTLIB.TEST
  • TESTLIB.TEST.FILE
  • TESTLIB.TEST.FILE2

Note TESTLIB is the AS/400 library where the physical files are located. The rest of the name is the physical file name.

After you apply this hotfix, DTS Import/Export Wizard displays the following physical files:

  • TESTLIB.TEST
  • TESTLIB."TEST.FILE"
  • TESTLIB."TEST.FILE2"

If you select one of the physical files, DTS Import/Export Wizard imports the file as a table into the specified SQL Server database.

For example, when you select the TESTLIB."TEST.FILE2" file to import, the following information appears on the Select Source Tables and Views page of DTS Import/Export Wizard.

Source Destination
TESTLIB."TEST.FILE2" [tempdb].[dbo].[FILE2"]

If you leave the settings as displayed, the new table that is created in the SQL Server database is named FILE2".

You can edit [tempdb].[dbo].[ FILE2"] to remove the closing quotation mark (") so that [tempdb].[dbo].[FILE2] appears on the Select Source Tables and Views page. Then, the new table that is created in the SQL Server database is named FILE2.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB904769