Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 HotFix 3)
PowerExchange Interfaces for
PowerCenter
Informatica PowerExchange PowerExchange Interfaces for PowerCenter
Version 9.5.1 HotFix 3
September 2013
Copyright (c) 1998-2013 Informatica Corporation. All rights reserved.
This software and documentation contain proprietary information of Informatica Corporation and are provided under a license agreement containing restrictions on use and
disclosure and are also protected by copyright law. Reverse engineering of the software is prohibited. No part of this document may be reproduced or transmitted in any form, by any
means (electronic, photocopying, recording or otherwise) without prior consent of Informatica Corporation. This Software may be protected by U.S. and/or international Patents and
other Patents Pending.
Use, duplication, or disclosure of the Software by the U.S. Government is subject to the restrictions set forth in the applicable software license agreement and as provided in DFARS
227.7202-1(a) and 227.7702-3(a) (1995), DFARS 252.227-7013
(1)(ii) (OCT 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 52.227-14 (ALT III), as applicable.
The information in this product or documentation is subject to change without notice. If you find any problems in this product or documentation, please report them to us in
writing.
Informatica, Informatica Platform, Informatica Data Services, PowerCenter, PowerCenterRT, PowerCenter Connect, PowerCenter Data Analyzer, PowerExchange, PowerMart,
Metadata Manager, Informatica Data Quality, Informatica Data Explorer, Informatica B2B Data Transformation, Informatica B2B Data Exchange Informatica On Demand,
Informatica Identity Resolution, Informatica Application Information Lifecycle Management, Informatica Complex Event Processing, Ultra Messaging and Informatica Master Data
Management are trademarks or registered trademarks of Informatica Corporation in the United States and in jurisdictions throughout the world. All other company and product
names may be trade names or trademarks of their respective owners.
Portions of this software and/or documentation are subject to copyright held by third parties, including without limitation: Copyright DataDirect Technologies. All rights reserved.
Copyright
Aandacht c.v. All rights reserved. Copyright Genivia, Inc. All rights reserved. Copyright Isomorphic Software. All rights reserved. Copyright
DataArt,
Inc. All rights reserved. Copyright
OSS Nokalva,
Inc. All rights reserved. Copyright Edifecs, Inc. All rights reserved. Copyright Cleo Communications, Inc. All rights reserved. Copyright
is
International Business Machines Corporation. All rights reserved. Copyright
The Board of Trustees of the Leland Stanford Junior University. All rights
reserved. Copyright
Apple
Inc. All rights reserved. Copyright
1999-2006 by Bruno Lowagie and Paulo Soares and other software which is licensed under various versions of the GNU Lesser General Public License Agreement, which may be
found at http://www.gnu.org/licenses/lgpl.html. The materials are provided free of charge by Informatica, "as-is", without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a particular purpose.
The product includes ACE(TM) and TAO(TM) software copyrighted by Douglas C. Schmidt and his research group at Washington University, University of California, Irvine, and
Vanderbilt University, Copyright (
) MetaStuff, Ltd. All Rights Reserved. Permissions and limitations regarding this software are subject to terms available at
http://www.dom4j.org/license.html.
The product includes software copyright
2004-2007, The Dojo Foundation. All Rights Reserved. Permissions and limitations regarding this software are subject to terms available
at http://dojotoolkit.org/license.
This product includes ICU software which is copyright International Business Machines Corporation and others. All rights reserved. Permissions and limitations regarding this
software are subject to terms available at http://source.icu-project.org/repos/icu/icu/trunk/license.html.
This product includes software copyright
1996-2006 Per Bothner. All rights reserved. Your right to use such materials is set forth in the license which may be found at http://
www.gnu.org/software/kawa/Software-License.html.
This product includes OSSP UUID software which is Copyright
1997-2007 University of Cambridge. Permissions and limitations regarding this software are subject to terms available at http://
www.pcre.org/license.txt.
This product includes software copyright
2007 The Eclipse Foundation. All Rights Reserved. Permissions and limitations regarding this software are subject to terms available at
http://www.eclipse.org/org/documents/epl-v10.php and at http://www.eclipse.org/org/documents/edl-v10.php.
This product includes software licensed under the terms at http://www.tcl.tk/software/tcltk/license.html, http://www.bosrup.com/web/overlib/?License, http://www.stlport.org/doc/
license.html, http://asm.ow2.org/license.html, http://www.cryptix.org/LICENSE.TXT, http://hsqldb.org/web/hsqlLicense.html, http://httpunit.sourceforge.net/doc/license.html,
http://jung.sourceforge.net/license.txt , http://www.gzip.org/zlib/zlib_license.html, http://www.openldap.org/software/release/license.html, http://www.libssh2.org, http://slf4j.org/
license.html, http://www.sente.ch/software/OpenSourceLicense.html, http://fusesource.com/downloads/license-agreements/fuse-message-broker-v-5-3- license-agreement;
http://antlr.org/license.html; http://aopalliance.sourceforge.net/; http://www.bouncycastle.org/licence.html; http://www.jgraph.com/jgraphdownload.html; http://www.jcraft.com/
jsch/LICENSE.txt; http://jotm.objectweb.org/bsd_license.html; . http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231; http://www.slf4j.org/license.html; http://
nanoxml.sourceforge.net/orig/copyright.html; http://www.json.org/license.html; http://forge.ow2.org/projects/javaservice/, http://www.postgresql.org/about/licence.html, http://
www.sqlite.org/copyright.html, http://www.tcl.tk/software/tcltk/license.html, http://www.jaxen.org/faq.html, http://www.jdom.org/docs/faq.html, http://www.slf4j.org/license.html;
http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/License; http://www.keplerproject.org/md5/license.html; http://www.toedter.com/en/jcalendar/license.html; http://
www.edankert.com/bounce/index.html; http://www.net-snmp.org/about/license.html; http://www.openmdx.org/#FAQ; http://www.php.net/license/3_01.txt; http://srp.stanford.edu/
license.txt; http://www.schneier.com/blowfish.html; http://www.jmock.org/license.html; http://xsom.java.net; and http://benalman.com/about/license/; https://github.com/
CreateJS/EaselJS/blob/master/src/easeljs/display/Bitmap.js; http://www.h2database.com/html/license.html#summary; http://jsoncpp.sourceforge.net/LICENSE; http://
jdbc.postgresql.org/license.html; and http://protobuf.googlecode.com/svn/trunk/src/google/protobuf/descriptor.proto.
This product includes software licensed under the Academic Free License (http://www.opensource.org/licenses/afl-3.0.php), the Common Development and Distribution License
(http://www.opensource.org/licenses/cddl1.php) the Common Public License (http://www.opensource.org/licenses/cpl1.0.php), the Sun Binary Code License Agreement
Supplemental License Terms, the BSD License (http://www.opensource.org/licenses/bsd-license.php) the MIT License (http://www.opensource.org/licenses/mit-license.php), the
Artistic License (http://www.opensource.org/licenses/artistic-license-1.0) and the Initial Developers Public License Version 1.0 (http://www.firebirdsql.org/en/initial-developer-s-
public-license-version-1-0/).
This product includes software copyright
2003-2006 Joe WaInes, 2006-2007 XStream Committers. All rights reserved. Permissions and limitations regarding this software are
subject to terms available at http://xstream.codehaus.org/license.html. This product includes software developed by the Indiana University Extreme! Lab. For further information
please visit http://www.extreme.indiana.edu/.
This product includes software Copyright (c) 2013 Frank Balluffi and Markus Moeller. All rights reserved. Permissions and limitations regarding this software are subject to terms of
the MIT license.
This Software is protected by U.S. Patent Numbers 5,794,246; 6,014,670; 6,016,501; 6,029,178; 6,032,158; 6,035,307; 6,044,374; 6,092,086; 6,208,990; 6,339,775; 6,640,226;
6,789,096; 6,820,077; 6,823,373; 6,850,947; 6,895,471; 7,117,215; 7,162,643; 7,243,110, 7,254,590; 7,281,001; 7,421,458; 7,496,588; 7,523,121; 7,584,422; 7676516; 7,720,
842; 7,721,270; and 7,774,791, international Patents and other Patents Pending.
DISCLAIMER: Informatica Corporation provides this documentation "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied
warranties of noninfringement, merchantability, or use for a particular purpose. Informatica Corporation does not warrant that this software or documentation is error free. The
information provided in this software or documentation may include technical inaccuracies or typographical errors. The information in this software and documentation is subject to
change at any time without notice.
NOTICES
This Informatica product (the Software) includes certain drivers (the DataDirect Drivers) from DataDirect Technologies, an operating company of Progress Software Corporation
(DataDirect) which are subject to the following terms and conditions:
1. THE DATADIRECT DRIVERS ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
2. IN NO EVENT WILL DATADIRECT OR ITS THIRD PARTY SUPPLIERS BE LIABLE TO THE END-USER CUSTOMER FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT OF THE USE OF THE ODBC DRIVERS, WHETHER OR NOT INFORMED OF THE
POSSIBILITIES OF DAMAGES IN ADVANCE. THESE LIMITATIONS APPLY TO ALL CAUSES OF ACTION, INCLUDING, WITHOUT LIMITATION, BREACH OF
CONTRACT, BREACH OF WARRANTY, NEGLIGENCE, STRICT LIABILITY, MISREPRESENTATION AND OTHER TORTS.
Part Number: PWX-IPC-951-0004
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Informatica Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Informatica My Support Portal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Informatica Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Web Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica How-To Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Knowledge Base. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Support YouTube Channel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Marketplace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Velocity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Informatica Global Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Part I: Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Chapter 1: PowerExchange Interfaces for PowerCenter. . . . . . . . . . . . . . . . . . . . . . . . 2
PowerExchange Interfaces for PowerCenter Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
PowerExchange Client for PowerCenter (PWXPC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Bulk Extraction Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
CDC Batch and Continuous Extraction Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
CDC Real-time Extraction Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
PowerExchange ODBC Drivers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part II: PowerExchange Client for PowerCenter (PWXPC). . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2: Installing PowerExchange Client for PowerCenter (PWXPC). . . . . . . . . . . 10
PWXPC Installation Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing and Configuring PWXPC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Configuration Step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Upgrade Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Modifying the PowerExchange Configuration Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Adding PowerExchange Nodes on the PowerCenter Client Machine. . . . . . . . . . . . . . . . . . . . . 12
Adding PowerExchange Nodes on the PowerCenter Integration Service Machine. . . . . . . . . . . . . 12
Adding PowerExchange Nodes in the dbmover.cfg File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
PowerCenter and PowerExchange Interoperability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 3: Working with Mappings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Working with Mappings Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Source and Target Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Working with Relational Source and Target Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table of Contents i
Working with DB2 Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Working with Microsoft SQL Server Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Working with Oracle Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Editing Relational Source and Target Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Working with Nonrelational Source and Target Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Importing Nonrelational Source Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Importing Nonrelational Target Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Viewing Nonrelational Source and Target Definition Details. . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Editing Nonrelational Source and Target Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Working with Extraction Map Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Viewing Extraction Map Definition Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Editing an Extraction Map Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Previewing PowerExchange Data in Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Previewing PowerExchange Relational Source or Target Data. . . . . . . . . . . . . . . . . . . . . . . . . 31
Previewing PowerExchange Nonrelational Source or Target Data. . . . . . . . . . . . . . . . . . . . . . . 32
Previewing PowerExchange Change Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Group Source Processing in PowerExchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Group Source Processing in Bulk Data Movement Sessions with Nonrelational Data Sources. . . . . 34
Group Source Processing in CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Multiple-Record Writes to Nonrelational Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Group Processing with Sequencing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Sequencing Support in Source and Target Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Working with Source Qualifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Transformation Datatypes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Creating Source Qualifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Editing Source Qualifier Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Lookup Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Usage Considerations for PowerExchange Sources and Targets. . . . . . . . . . . . . . . . . . . . . . . 40
Limitations on Dynamic Lookups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Configuring Lookups for IMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Configuring Lookups for CDC Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Stored Procedure Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Usage Considerations for Stored Procedure Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . 42
Implementing a Stored Procedure Transformation in a Mapping. . . . . . . . . . . . . . . . . . . . . . . . 42
Chapter 4: Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Connections Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Connection Types for Extracting Source Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Connection Types for Loading Target Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Configuring PowerExchange Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
DB2 Relational Connections for Bulk Data Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
DB2 Application Connections for CDC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
NRDB Application Connections for Bulk Data Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
ii Table of Contents
NRDB Application Connections for CDC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
NRDB Lookup Relational Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Microsoft SQL Server Relational Connections for Bulk Data Movement. . . . . . . . . . . . . . . . . . . . . . 65
Microsoft SQL Server Application Connections for CDC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Oracle Relational Connections for Bulk Data Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Oracle Application Connections for CDC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Configuring Connection Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Common Connection Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Batch Application and Relational Connection Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
CDC-Specific Connection Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Connection Attributes for CDC Commit Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Maximum and Minimum Rows per Commit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Target Latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Examples of Commit Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Connection Attributes for Multiple-Record Writes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Asynchronous Network Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Asynchronous Read and Write Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Timeout Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Configuring Connection and Network Operation Timeouts. . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Chapter 5: Working with Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Working with Sessions Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Extracting Data in Batch Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Extracting Data from Multiple Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Constraint-Based Loading for Relational Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Configuring Batch Mode Sessions for Nonrelational Sources. . . . . . . . . . . . . . . . . . . . . . . . . . 99
Considerations for Sessions that Perform Multiple-Record Writes. . . . . . . . . . . . . . . . . . . . . . 103
Configuring Session Properties for Relational Batch Mode Sessions. . . . . . . . . . . . . . . . . . . . 107
Extracting CDC Data in Change and Real-time Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
PowerExchange Extraction Maps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Extracting CDC Data from Multiple Sources in a Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Session Properties for Change and Real-time Mode Sessions. . . . . . . . . . . . . . . . . . . . . . . . 109
Asterisk in i5/OS Library Overrides. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Treating Source Rows as Updates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Configuring Constraint-Based Loading for Relational Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Loading Data to PowerExchange Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Configuring Sessions to Load Data to Relational Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Configuring Sessions to Load Data to Nonrelational Targets. . . . . . . . . . . . . . . . . . . . . . . . . 115
Parameters and Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Workflows that Connect to a PowerExchange Listener Service. . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Configuring PowerExchange Services for Workflows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Pipeline Partitioning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Commit Processing for Bulk Data Movement Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Table of Contents iii
Commit Processing for CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Considerations for Pre- and Post-Session SQL Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Chapter 6: Restart and Recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Restart and Recovery Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Understanding PWXPC Restart and Recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Session Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Recovery Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Recovery State Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Recovery State File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Restart Token File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Determining the Restart Point. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Initializing and Running CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Ending CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Creating Recovery Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Recovery Table Creation with PowerExchange Targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Creating the Recovery Tables Manually. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Configuring the Restart Token File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Restart Token File Control Statement Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Restart Token File Control Statement Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Restart Token File Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
PWXPC Restart and Recovery Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Enabling Session Recovery for a CDC Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Configuring CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Application Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Generating Current Restart Tokens for CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Starting CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Stopping CDC Sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Changing CDC Sessions and Restarting from the Point of Interruption. . . . . . . . . . . . . . . . . . . 141
Recovering from CDC Session Failures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Managing Session Log and Restart Token File History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Chapter 7: Flexible Target Key Transformation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Flexible Target Key Transformation Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Configuring PowerExchange Extraction Maps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Configuring Mappings with Flexible Target Key Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . 147
Configuring Flexible Target Key Transformations with Multiple Sources. . . . . . . . . . . . . . . . . . . . . 148
Part III: PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Chapter 8: Installing PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Installing PowerExchange ODBC Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Creating ODBC Data Sources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
iv Table of Contents
Creating an ODBC Data Source on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Creating a PowerExchange ODBC Data Source on Linux or UNIX. . . . . . . . . . . . . . . . . . . . . .152
Chapter 9: Working with Mappings for PowerExchange ODBC. . . . . . . . . . . . . . . . .154
Working with Mappings for PowerExchange ODBC Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . .154
Working with Source and Target Definitions for PowerExchange Batch (ODBC). . . . . . . . . . . . . . . . 155
Importing a Source or Target Definition for PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . 155
Working with Source Definitions for PowerExchange Change or Real-time (ODBC). . . . . . . . . . . . . .156
Importing a Change Data Capture Source Definition for PowerExchange ODBC. . . . . . . . . . . . .156
Chapter 10: Configuring Connections for PowerExchange ODBC. . . . . . . . . . . . . . 158
Configuring Connections for PowerExchange ODBC Overview. . . . . . . . . . . . . . . . . . . . . . . . . . .158
Working with Connections for PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
Connection Types for Extracting Source Data for PowerExchange ODBC. . . . . . . . . . . . . . . . . 158
Connection Types for Loading Target Data for PowerExchange ODBC. . . . . . . . . . . . . . . . . . .159
Configuring Attributes for Connections for PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . .159
Chapter 11: Working with Sessions for PowerExchange ODBC. . . . . . . . . . . . . . . . 161
Working with Sessions for PowerExchange ODBC Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Pipeline Partitioning for PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Extracting Data from PowerExchange in Batch Mode (ODBC). . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Configuring Properties for Nonrelational Batch Mode Sessions (ODBC). . . . . . . . . . . . . . . . . . 162
Configuring Properties for Relational Batch Mode Sessions (ODBC). . . . . . . . . . . . . . . . . . . . 163
Extracting Data from PowerExchange in Change and Real-time Mode (ODBC). . . . . . . . . . . . . . . . .163
Configuring Properties for Change and Real-time Mode Sessions (ODBC). . . . . . . . . . . . . . . . 163
Configuring a Session to Load Data to PowerExchange Targets (ODBC). . . . . . . . . . . . . . . . . . . . 164
Chapter 12: PowerExchange Restart and Recovery. . . . . . . . . . . . . . . . . . . . . . . . . .165
PowerExchange Restart and Recovery Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Restart and Recovery with PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Managing Restart Tokens with PowerExchange ODBC. . . . . . . . . . . . . . . . . . . . . . . . . . . . .166
Appendix A: PowerExchange Interfaces for PowerCenter Tips. . . . . . . . . . . . . . . . . . . .167
Organizing Sources by Map Type in the Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Filtering Source Data with PWXPC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
Filter Override Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
DTLREXE to Submit MVS Batch Jobs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
Empty Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
Creating Empty Files in a PowerCenter Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Empty File - Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .172
Appendix B: Datatypes and Code Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Datatypes and Code Pages Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174
Table of Contents v
PowerExchange Nonrelational Datatypes and Transformation Datatypes. . . . . . . . . . . . . . . . . . . . 174
Restrictions on Relational Datatypes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
LOB Datatypes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
DB2 for z/OS TIMESTAMP Datatype. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Reading and Writing Binary Data in PowerExchange Client for PowerCenter . . . . . . . . . . . . . . . . . . 178
Code Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Appendix C: PowerExchange Interfaces for PowerCenter Troubleshooting. . . . . . . . 179
Troubleshooting for PowerExchange Interfaces for PowerCenter. . . . . . . . . . . . . . . . . . . . . . . . . . 179
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
vi Table of Contents
Preface
This guide describes the Informatica interfaces between PowerExchange and PowerCenter: PowerExchange Client
for PowerCenter (PWXPC) and the PowerExchange ODBC drivers. It is intended for developers and administrators
who are responsible for creating, running, and administering workflows and sessions that interface with
PowerExchange.
This guide assumes that you have knowledge of relational database concepts, and the database engines and
nonrelational files in your environment. This guide also assumes that you are familiar with the basic operation of
PowerExchange and PowerCenter.
This guide supplements the information in the PowerCenter library, including the information in the PowerCenter
Designer Guide, PowerCenter Transformation Guide, PowerCenter Workflow Basics Guide, PowerCenter Advanced
Workflow Guide, and Informatica Administrator Guide.
This guide applies to the following PowerExchange products, including PowerExchange change data capture (CDC)
where applicable:
PowerExchange for Adabas
for i5/OS
, UNIX
, and Windows