Hi Ashok,
I have no access for the moment to a delphix engine to test it for you, but here is a plan that i want you to test.
Nota, remember, you have always to not count the segment(s) you want to preserve when creating a segment mapping.
To mask ABNAUS4
9FXZ => ABNAMW4
0FXZ please try the following
1/1 segments of 2 (this is the default for the first created segment) alphanumeric values each 2/ For the 2 field for this segment set range as 03/ On the preserve section of the algorithm :start position 1 length 4start position 7 length 1start position 9 length 3
Regards,
Mouhssine
------------------------------
Mouhssine SAIDI
Community Member
Delphix Community Members
------------------------------
Original Message:
Sent: 02-19-2020 02:58:59 AM
From: Ashok Kumar Athuluri
Subject: I have scenario to mask 4,5 th charecters with some value and 8th charecter shuold be replaced by '0'
Hi suzanne,
Thanks for your email.
I have tried same configuration what you explined above. But i am not getting 0 at 8th position.
Created segment mapping with below configuratioin:
1/3 segments of 4 alphanumeric values each
2/ On segment 2 :
for the 4 field set range as 0
3/ On the preserve section of the algorithm :
start position 1 length 4
start position 7 length 1
start position 9 length 3
Below is the sample source and masked data.
Source data:
BICCODE | NUM | LOC |
ABNAUS49FXZ | 2791 | CHN |
SWEDHK60NLX | 5717 | DLH |
AKMLMD48FPZ | 5611 | MUM |
Mask data:
BICCODE | NUM | LOC |
ABNAMW42FXZ | 2791 | CHN |
SWEDCR67NLX | 5717 | DLH |
AKMLXH45FPZ | 5611 | MUM |
Best Regards,
Ashok.
------------------------------
Ashok Kumar Athuluri
Associate Engineer
BNP Paribas - Asia
Original Message:
Sent: 02-18-2020 02:07:38 PM
From: Suzanne Lusardi
Subject: I have scenario to mask 4,5 th charecters with some value and 8th charecter shuold be replaced by '0'
Ashok,
When defining your 8th character in your segmented mapping algorithm, did you try to make use of the mask values boxes ? Try putting a 0 in the Range # box under the masked values. Leave the real values emtpy. This should change any input character (real value) into the mask value (0) to what you specify in the range # box.
------------------------------
Suzanne Lusardi
IT DB Governance & Compliance Analyst
Paychex, Inc.
Original Message:
Sent: 02-16-2020 06:00:57 AM
From: Ashok Kumar
Subject: I have scenario to mask 4,5 th charecters with some value and 8th charecter shuold be replaced by '0'
Hello,
I am able to replace 4th & 5th character with some other Values, But not able to replace 8th character with 0.
I have tried different combinations to replace 8th character with 0. But not able to find the solution.
Can you please help me to resolve this?
ex:
Source Value: BNMKNK8236
Mask Value: BNMKLM8036
Thanks,
Ashok Kumar.
------------------------------
Ashok Kumar
Community Member
Delphix Community Members
Original Message:
Sent: 02-25-2019 07:21:00 AM
From: Ashok Kumar
Subject: I have scenario to mask 4,5 th charecters with some value and 8th charecter shuold be replaced by '0'
Thank you for your help.
Can you please send me one example to replace only 8th character with o.
Thanks,
Ashok Kumar