Access to Legacy Applications and Data
|
|
Step 2: Defining Required Methods and Parameters
To make the mainframe transaction processing program data available to IIS, perform the following tasks:
- Acquire the COBOL source code from the mainframe by using a file transfer mechanism such as the FTP-AFTP gateway that is delivered by SNA Server 4.0 SP2.
- Use the COBOL Import Wizard to:
- Select the COBOL source code.
- Specify the methods and mainframe transaction processing program names.
- Select input, output, and return value parameters.
- When necessary, change the mappings between the COBOL and Automation data types.
- Use the Component Builder to make a COMTI component library (.tlb). This is a standard library that can be used by client software and Component Services.
If you have changed the data type mapping in the COBOL code, there are two more actions required in this step:
- Use the Component Builder to generate new COBOL declarations.
- Update the mainframe program with the new COBOL data declarations. This is the only instance requiring modifications to the mainframe environment.
© 1997-1999 Microsoft Corporation. All rights reserved.