IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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

Superior Member


Joined: 14 Mar 2007
Posts: 10782
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: 2673
Location: NYC,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

Superior Member


Joined: 14 Mar 2007
Posts: 10782
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

 


Similar Topics
Topic Forum Replies
No new posts COBOL Table data to a flat file with ... COBOL Programming 5
No new posts Compare 2 files replace data in 1st f... DFSORT/ICETOOL 4
No new posts DB2 SQL query to read and update data... DB2 12
This topic is locked: you cannot edit posts or make replies. copy file 2 data into file1 for match... DFSORT/ICETOOL 4
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
Search our Forums:

Back to Top