Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

FAQ: Are bitwise operators (such as left shift or right shift) available in PowerCenter?
Answer

Bitwise operators such as left shift or right shift  are not available in PowerCenter.

A feature request  (CR 178622) has been created to add bitwise functions in a future version of PowerCenter.

Workaround

You can use a Java transformation with Java library functions to perform the operation on incoming data.

Example:

Simple Java Code can be used with the following Java Expressions:

y = x << 3; //Shift left
x = x ^ 1; //xor can be used to flip between 1 and 0


More Information

Applies To
Product: PowerCenter
Problem Type:
User Type: Administrator
Project Phase:
Product Version: PowerCenter 8.1.x; PowerCenter 8.5.x; PowerCenter 8.6; PowerCenter 8.6.1
Database:
Operating System:
Other Software:

Reference
CR 178622

Attachments

Last Modified Date:2/13/2009 9:09 AMID:103049
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)