P. 1
Informatica PowerCenter 9.0 Transformation Guide

Informatica PowerCenter 9.0 Transformation Guide

|Views: 11,808|Likes:
Published by Dipankar

More info:

Published by: Dipankar on Sep 24, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/03/2014

pdf

text

original

Generates a rollback transaction.

Use rollBack in any tab except the Import Packages or Java Expressions code entry tabs. You can only use
rollback in active transformations configured to generate transactions. If you use rollback in an active
transformation not configured to generate transactions, the Integration Service generates an error and fails the
session.

Use the following syntax:

rollBack();

Use the following code to generate a rollback transaction and fail the session if an input row has an illegal
condition or generate a transaction if the number of rows processed is 100:

// If row is not legal, rollback and fail session.

if (!isRowLegal()) {

rollback();
failSession(“Cannot process illegal row.”);
} else if (rowsProcessed==100) {

commit();

rowsProcessed=0;

}

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->