data scrubbing/scrambling

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vitumati
Participant
Posts: 27
Joined: Tue Sep 07, 2010 11:38 pm

data scrubbing/scrambling

Post by vitumati »

Hello Guys,


I have source with 2 columns,One is Account_No,second one is Account_Hold_Name.My requirement is need to data scrubbing/scrambling
data of first one(Account_No)
its not exactly Encrtpt and Decrypt.its data scrubbing/scrambling.

Example:
Account_No:ABC123456
We need to scrambling. the data like SR#*95471
For that we have write a logic.
A------>S
B-------.R
C------>#
1------->*
2------->9.......etc
can you please help me out this ?
Thnaks
VijayKumar-91-8806678186
Abhinav
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Code: Select all

Convert('ABC12','SR#*9',In.Account_No)
Will do what you wish.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Of course you would extend that to include all possible characters. And, of course, anything 'scrambled' like that can be easily unscrambled.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's usually called "masking". Investigate IBM's Optim product, which has this capability, while preserving the relationships and statistics of the data.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Masking is similar but involves still having 'useful' data when you are done, this seems to be just... scrambling. :wink:

Here is a fairly recent discussion on the subject.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply