Access to Legacy Applications and Data
|
|
Step 2: Defining Required Methods and Parameters
- Acquire the COBOL source code from the mainframe by using a file transfer mechanism, such as the FTP-AFTP gateway service that is included with SNA Server 4.0 SP2.
- Use the COBOL Import Wizard to:
- Select the COBOL source code.
- Specify the methods and mainframe transaction processing 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 type 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.