IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Masking Db2 data


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kishpra

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Fri Sep 02, 2016 9:23 pm
Reply with quote

Hello Team,

I am working on a requirement where I have an accountNo col in 3-5 Production DB2 tables. I need to unload productions tables into test environment by masking accountNo col in all the tables.

accountNo col is CHAR(19) and I want to mask digits from position 7-18 in a way that this col is masked in a consistent way for all the records and for all the tables where it is referenced to maintain integrity.

Thank you.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10697
Location: italy

PostPosted: Fri Sep 02, 2016 9:30 pm
Reply with quote

Quote:
consistent way for all the records and for all the tables where it is referenced to maintain integrity.

then a RYO approach is not the best way.

and if the environment is a financial institution the data masking stuff must go thru Your audit and be certified for compliancy
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2508
Location: NY,USA

PostPosted: Fri Sep 02, 2016 10:18 pm
Reply with quote

I think , you can make a use of seq# , I would advice you to talk to DBA in this matter also look CREATE MASK if that is what you looking for.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10697
Location: italy

PostPosted: Fri Sep 02, 2016 10:32 pm
Reply with quote

the create mask IIRC is NOT PCI compliant
the unmasked data will still be present into the table
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts Changing Data Type SYNCSORT 4
No new posts Copying data from prev record using SORT SYNCSORT 19
No new posts how to get total count from numeric d... SYNCSORT 9
No new posts Map a data element to SPACES if it is 0 COBOL Programming 2

Back to Top