Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: PowerExchange Client for PowerCenter (PWXPC)
  4. Part 3: PowerExchange ODBC
  5. Appendix A: PowerExchange Interfaces for PowerCenter Tips
  6. Appendix B: Datatypes and Code Pages
  7. Appendix C: PowerExchange Interfaces for PowerCenter Troubleshooting

PowerExchange Interfaces for PowerCenter

PowerExchange Interfaces for PowerCenter

Stored Procedure Calls in Pre- and Post-Session SQL Commands

Stored Procedure Calls in Pre- and Post-Session SQL Commands

You can specify pre- and post-session SQL in the Source Qualifier transformation and the target instance when you create a mapping. When you create a Session task in the Workflow Manager you can override the SQL commands on the Mapping tab.
For the following databases, if you include a call to a stored procedure in the pre- or post-session SQL, PowerExchange issues error message PWX-00183:
  • DB2 for Linux, UNIX, and Windows
  • Microsoft SQL Server
  • Oracle
For best performance, if a Source Qualifier transformation for a PowerExchange DB2 for i5/OS source in a PowerCenter session calls a stored procedure on i5/OS to return data, specify the following options on the CREATE PROCEDURE statement when you create the stored procedure:
SET OPTION DATFMT = *ISO ,TIMFMT = *ISO
These options ensures that the format of date and time column types are returned in the same format as if the data was being returned through the DB2 database.

0 COMMENTS

We’d like to hear from you!