Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Adding a Capture Registration

Adding a Capture Registration

A capture registration defines a source object such as an IMS segment, DB2 table, or VSAM data set for PowerExchange change capture processing.
PowerExchange stores capture registrations in the CCT file on the source system.
Before adding a capture registration, you must define the registration group. Within a registration group, you can add a capture registration for a specific source only once. The capture registration provides source object metadata and identifies the columns for which you want to capture change data.
You cannot register a source object that has column names greater than 128 characters in length.
  1. Open a registration group.
  2. On the
    Registration Group
    tab in the
    Resource Explorer
    , right-click the registration group and click
    Add Capture Registration
    .
  3. In the
    Add Capture Registration - Name and Table Filter
    dialog box, enter a capture registration name and optional information as needed.
    The following table describes the fields in this dialog box:
    Field
    Description
    Name
    Required. A user-defined name for the capture registration. The name must be from one to eight lowercase alphanumeric characters in length and begin with a letter.
    Table Filter
    Optional. To filter the tables, enter values in any of the following filter fields, depending on the source type:
    • For Adabas, enter filter information in the
      Schema
      and
      Table
      boxes. The maximum length for both fields is 128 characters.
    • For Datacom, enter filter information in the
      Schema
      and
      Table
      boxes. The maximum length for both fields is 128 characters.
    • For all DB2 types, enter filter information in the
      Creator/Schema
      ,
      DBName/Definer
      , and
      Table
      boxes.
      For DB2 for i5/OS, maximum lengths are: 10 characters for the
      Creator/Schema
      field and 32 characters for the
      Table
      field
      For DB2 for z/OS, the maximum length of both the
      Creator/Schema
      and
      Table
      fields is 128 characters.
    • For IDMS, enter filter information in the
      Schema
      and
      Table
      boxes. The maximum length of both fields is 128 characters.
    • For IMS, enter filter information in the
      Schema
      ,
      MapName
      , and
      Table
      boxes. In the
      MapName
      field, enter a PowerExchange IMS data map name. Maximum lengths are: 10 characters for the
      Schema
      and
      MapName
      values and 128 characters for the
      Table
      value.
    • For MSSql, enter filter information in the
      Owner
      and
      Table
      boxes. The maximum length for both fields is 128 characters.
    • For MySQL, enter filter information in the
      Schema
      and
      Table
      fields. The maximum length for both fields is 64 characters. In MySQL, the schema name is equivalent to the database name.
    • For Oracle, enter filter information in the
      Schema
      and
      Table
      fields. The maximum length for both fields is 128 characters.
    • For PostgreSQL, enter filter information in the
      Schema
      and
      Table
      fields. The maximum length for both fields is 63 characters.
    • For VSAM, enter filter information in the
      Schema
      ,
      MapName
      , and
      Table
      boxes. In the
      MapName
      box, enter the name of a PowerExchange VSAM data map. Maximum lengths are: 10 characters for the
      Schema
      and
      MapName
      fields and 128 characters for the
      Table
      field.
    In any filter field, you can include the following wildcards to create a mask:
    • An asterisk (*) to represent one or more characters.
    • A question mark (?) to represent a single character.
    Respect Case
    By default, PowerExchange converts text that you enter in the filter boxes to the standard case for the data source. For example, on Oracle, uppercase is the standard. A value of
    scott
    or
    SCOTT
    would both produce
    SCOTT
    .
    Select the
    Respect Case
    option for the filter fields for which you do
    not
    want PowerExchange to use the standard case for the data source.
    Escape Character
    Enter the escape character to use in the filter boxes to delimit an asterisk (*) or question mark (?) that is used a literal value instead of a wildcard.
    For example, if you specify an escape character of
    ~
    , a filter value of
    tab*
    returns all tables that have table names beginning with
    tab
    . A filter value of
    tab~*
    returns the table that has the name
    tab*
    .
    Do not use an escape character with multibyte-enabled data sources.
  4. Click
    Next
    .
    The
    Add Capture Registration - Tables and Columns
    dialog box appears.
    If you entered filter criteria, the
    Tables
    list displays the tables that matched your filter criteria. Otherwise, the
    Tables
    list displays all tables.
    The
    Tables
    list can include the one or more of the following fields, depending on the source type:
    Column
    Description
    Creator Name
    The creator name for the table
    Schema
    The schema name
    Name or Table
    The table name
    Type
    The object type, such as TABLE
    DataSet Name
    The data set name
  5. In the
    Tables
    list, double-click a table to select it.
    If the table contains column names that are longer than 128 characters, an error message is issued and you cannot register the table.
    The
    Columns
    list displays the columns in the selected table. The list can include the following fields, depending on the source type:
    Field
    Description
    Select Column
    A check box next to each column for selecting columns for registration.
    Index columns are selected by default.
    Name
    The column name.
    CCSID
    For a DB2 source, the coded character set identifier (CCSID) related to the column.
    PWXCP
    For a DB2 source, the PowerExchange internal representation of the code page.
    Codepage
    For a DB2 source, the code page related to the column.
  6. In the
    Columns
    list, select the columns for which you want PowerExchange to capture changes.
    To select columns individually, select the
    Select Column
    check box next to each column. To select all columns, click
    Select All Columns
    or
    Select all and notify changes
    . The following table describes the options for selecting all columns:
    Check Box
    Description
    Select All Columns
    Available for source types that support selective column capture. Selects all columns in the
    Columns
    list for change capture.
    After you add the registration, any columns that are added to the source table are ignored until you edit the capture registration to select them.
    Select all and notify changes
    Available for DB2 and Oracle sources. If you select this option, PowerExchange captures changes for all columns. Any change to the schema for the table causes PowerExchange CDC to fail and log an error message.
    For a DB2 for z/OS source, the DB2 ECCR abnormally ends after it reads the first change record for the table after the schema change.
    For an Oracle source, Oracle CDC fails and logs an error message in the following situations:
    • If a change record for a table that you registered for capture contains a column that you did not register for capture
    • If a change record does not contain a column that you registered for capture
    For Oracle CDC, if a definition for a table changes in a way that is compatible with the PowerExchange capture registration, Oracle CDC continues to capture changes for that table.
    For example, if the length of a character column decreases but the capture registration does not reflect this change, Oracle CDC continues to capture changes for the table.
    Conversely, if the datatype of a column changes from numeric to character without a change in the capture registration, Oracle CDC continues to capture changes for the table until it encounters the first change record that contains nonnumeric data for the column. When Oracle CDC encounters a change record containing nonnumeric data for the column, it fails and logs an error message.
    If you clear the
    Select all and notify changes
    option, the check boxes appear next to the columns are cleared. To select the columns again, you must select their check boxes.
    When selecting columns, consider the following recommended practices:
    • Informatica recommends that you select all columns for which you want to capture change data because a registration can be defined only once in a registration group for specific source. You can edit the corresponding extraction map to deselect columns.
    • A key symbol indicates that a column is an index column that Condense processing uses. If you clear the check box for an index column, you might compromise the uniqueness of the row.
  7. Click
    Next
    .
  8. In the
    Add Capture Registration - Type
    dialog box, enter additional information about the capture registration.
    The following table describes the fields in this dialog box:
    Field
    Source Type
    Description
    Condense
    All
    Whether PowerExchange Condense or the PowerExchange Logger for Linux, UNIX, and Windows is used and the type of PowerExchange Condense processing on i5/OS or z/OS. Options are:
    • None
      . PowerExchange does not use PowerExchange Condense or the PowerExchange Logger for Linux, UNIX, and Windows to process changes for the registered source.
    • Part
      . PowerExchange uses PowerExchange Condense or the PowerExchange Logger to process changes for the registered source. PowerExchange Condense uses partial condense processing. Informatica recommends this option because it maintains transactional consistency.
    • Full
      . PowerExchange uses PowerExchange Condense full condense processing for
      i5/OS
      or
      z/OS
      sources but some limitations apply. This option does not maintain transactional consistency.
    You can change the
    Condense
    option later without incrementing the registration version number. For more information, see Condense Options.
    Status
    All
    The status of the capture registration with regard to availability for change capture use. Options are:
    • Inactive
      . PowerExchange does not yet use the registration to capture changes for the source. This option is the initial status setting. You must manually set the option to
      Active
      to make the registration eligible for change capture use.
    • Active
      . PowerExchange can use the registration to capture changes for the source.
    Default is
    Inactive
    .
    You can change the status from
    Inactive
    to
    Active
    later to make it eligible for change capture processing.
    For more information about status settings, see Status Options.
    Comment
    All
    User-defined comments about the capture registration.
    Database ID
    Adabas
    The DBID of the Adabas database that contains the file from which changes are captured.
    File Number
    Adabas
    The file number of the Adabas file in the database identified by the
    Database ID
    field.
    Primary Dataset Name
    IMS synchronous
    The name of the primary data set for the IMS database. This name can be up to 44 characters in length. Depending on the database type, the primary data set is one of the following:
    • Full-function database: The primary data set is the data set that contains the primary (or only) data set group for the database.
    • Fast Path database: The primary data set is the data set that contains the first (or only) area for the database.
    • HALDB database: The primary data set is the data set prefix for the first partition, which is used for the data set name.
    Supplement Log Group Name
    Oracle
    The name of the supplemental log group that you will create for the source. PowerExchange generates DDL for creating supplemental log groups when you complete the capture registration.
    You must define a supplemental log group for each table for which you want PowerExchange to capture Oracle change data. This supplemental log group must contain all table columns for which change data is to be captured.
    Execute DDL now
    Oracle
    For an Oracle source, select this option to run DDL to create a supplemental log group when you complete the capture registration.
    Clear this option to run the DDL later.
    You must also enter a value in the
    Supplement Log Group Name
    box.
    The GRANT statements in the ORACAPT.SQL file for the Oracle capture user do not include the authority that is required to run the DDL.
  9. Click
    Finish
    .
  10. For an Oracle source, in the
    Save Supplement Log Group SQL to File
    dialog box, enter a file name in the
    File Name
    field for the file that contains the generated DDL and click
    Save
    .
    PowerExchange saves the DDL to the specified file. By default, the file is located in the PowerExchange root installation directory.
The PowerExchange Listener writes the capture registration to the CCT file on the source system. In the PowerExchange Navigator, the capture registration appears in the list of capture registrations on the
Registration Group
tab in the
Resource Explorer
. Also, the registration appears at the following locations in the interface:
  • The
    Capture Registration
    window displays the columns in the capture registration.
  • The
    Capture Registration
    tab in the
    Resource Inspector
    displays the properties for the capture registration. Use the arrows to toggle between the
    Capture Registration
    and
    Registration Group
    tabs in the
    Resource Inspector
    .
  • The status bar displays information about the open registration group and capture registration.

0 COMMENTS

We’d like to hear from you!