Microsoft KB Archive/886300

= How to migrate type libraries from SNA Server 4.0 Service Pack 4 and Host Integration Server 2000 Service Pack 1 to Host Integration Server 2004 =

Article ID: 886300

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2004 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 4

-





INTRODUCTION
When you import a Microsoft Host Integration Server 2000 type library or a Microsoft SNA Server 4.0 type library into Host Integration Server 2004, you can update the following types of information:
 * Remote Environment classes
 * Library GUIDs, including library GUIDs, interface GUIDs, coclass GUIDs, and user-defined type GUIDs
 * Library defaults



MORE INFORMATION
Depending on the result that you want, one of the following methods of type library conversion must be performed:  Open and Save: This method updates the Remote Environment class. No changes are made to either the type library GUIDs or the default conversions.

You can open and save a type library either by dragging the type library to the project or by clicking Library on the Import submenu on the File menu. After you import the type library, click Save on the File menu. Open and Save As: This method updates the Remote Environment class and generates new type library GUIDs. No changes are made to the type library default conversions.

You can open a type library either by dragging the type library to the project or by clicking Library on the Import submenu on the File menu. After you import the type library, click Save As on the File menu. When you are prompted to replace the file, click Yes. Manual Import: This method updates the Remote Environment class, generates new type library GUIDs, and adds Host Integration Server 2004 defaults to the new library.

Important Remember to back up your original type library files before you run the Microsoft Host Integration Server Transaction Integrator (TI) Designer because you cannot revert to the previous format, SNA 4 or Host Integration Server 2000, after the files have been modified.

Note These steps import a LU 6.2 CICS Link component; other Remote Environment types will look slightly different. Additionally, these steps suggest that you use the same library name and the same interface name as the original type library. By using the same library name and the same interface name, the ProgID of the new component will be the same as the original component.

To perform a manual import, follow these steps:  Start Visual Studio .NET 2003. On the File menu, click New, and then click Project. In the New Project dialog box, click HIS Projects, and then click TI Project. In the Name box, type  (where   is the name of your project), and then click OK.</li> In the Solution Explorer pane, right-click, click Add, and then click either Add COM Client Library or Add .Net Client Library.</li> In the Name box, type the library name from pre-Host Integration Server 2004 type library, and then click Open.

Note You can use Component Builder to obtain the library name.</li> When the New COM Client Library Wizard opens, click Next.</li> In the Interface Name box, type the interface name from pre-Host Integration Server 2004 type library, and then click Next.

Note You can use Component Builder to obtain the interface name.

Note Click the Support Visual Basic 6.0 decimal type option if you want the component to permit applications that are written with Visual Basic 6.0 or an earlier version to use early binding to access TI components that reference types. For most cases, this option should be clicked.</li> On the Remote Environment Configuration page, make sure that you have selected the correct options, and then click Next two times.</li> Click Create to finish creating the COM Client Library shell so that you can import your pre-Host Integration Server 2004 type library.</li> To import your pre-Host Integration Server 2004 type library with the new definition selected, follow these steps: <ol style="list-style-type: lower-alpha;"> On the File menu, click Import, and then click Library.</li> Locate and then click your pre-Host Integration Server 2004 type library.</li> Click Open.</li> If you receive a &quot;CICS_LINK.TLB: “” is not a valid Mirror Tran ID&quot; build error, follow these steps for each method that is defined in the type library: <ol> Click the method name.</li> In the Properties pane, type CSMI in the Mirror Transaction ID box, and then press ENTER.</li></ol>

Note CSMI is the default Mirror Transaction name. For some mainframes, this entry may be different.</li> On the File menu, click Save All to save the project.</li></ol> </li></ol> </li></ul>

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

885122 The precision and scale properties of currency data types are set to default values when you import a Transaction Integrator (TI) COM type library in Host Integration Server 2004

Additional query words: HIS2004

Keywords: kbhowto KB886300

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.