Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Informatica Connector Toolkit Getting Started Guide

Informatica Connector Toolkit Getting Started Guide

Step 5. Define the Run-Time Interfaces

Step 5. Define the Run-Time Interfaces

Use the run-time interfaces available in C to specify how the MySQL connector reads and writes comments.
  1. In the
    Connector Progress
    view, right-click the project and select
    Runtime
    Set Up
    .
    The
    Run-time Implementation
    wizard appears.
  2. Select
    Implement in C
    and click
    Next
    .
    The
    Supported Platforms
    page appears.
  3. Click
    Add
    .
    The
    Add Platform
    page appears.
  4. Select
    NT
    as the platform.
  5. In the
    Compile
    section, click
    Add
    . The
    Add Directory
    dialog box appears.
    1. Browse to the location that contains the library files required for the MySQL connector. For example, browse to
      C:\mysql-connector-c-6.1.5-winx64\mysql-connector-c-6.1.5-winx64\include.
    2. Click
      OK
      to add the include paths.
  6. Ensure that Visual Studio is selected as the IDE for the run-time project.
  7. In the
    Link
    section, click
    Add
    . The
    Add Library
    dialog box appears.
    1. Browse to the directory that contains the link library files required for the MySQL connector. For example, browse to
      C:\mysql-connector-c-6.1.5-winx64\mysql-connector-c-6.1.5-winx64\lib.
    2. Click
      OK
      to add the library paths.
  8. Click
    OK
    to return to the
    Supported Platform
    page.
  9. Click
    Finish
    .
    The
    Run-time Implementation
    wizard generates the C project files in the runtime folder.
  10. Use Visual Studio to open the C++ project in the Runtime folder of the table NMO and implement the following functions:
    • INFAADPInitPlugin
    • INFAADPDeinitPlugin
    • INFAADPInitDataSourceOperation
    • INFAADPDeinitDataSourceOperation
    • INFAADPInitdataSession
    • INFAADPDeinitDataSession
    • INFAADPBegindataSession
    • INFAADPEndDataSession
    • INFAADPDisConnect
    • INFAADPConnect
    • INFAADPRead
    • INFAADPWrite
    For more information about these methods, see the
    Informatica Connector Toolkit API Reference
    .

0 COMMENTS

We’d like to hear from you!