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

Data masking task


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
noorkh

New User


Joined: 06 Mar 2006
Posts: 76
Location: Chennai

PostPosted: Wed Jan 09, 2013 12:05 pm
Reply with quote

Hi,

I have below requirement. I have tried few options but it didn't work. Can you please help me out here.

Requirement:
Mask all Customer details while loading into UAT database.

Steps to do:
1. Unload data from production using BMC unload utility as below:
UNLOAD SHRLEVEL CHANGE UNICODE FORMAT BMCLOAD
SELECT * FROM table
Utility is: @BMCUNLD

2. Load them into UAT test tables using same utility.

I need to do data masking of customer details before i load them into UAT test tables.

Problem workout:
I can't change unload card and it has to be kept as it is. I can't change load card and it has to be kept as it is.

I need to build in between DFSOFT or COBOL process which will mask UNICODE STRING fields(VARCHAR, CHAR) into desired results. And resultant value should be UNICODE STRING only so that i can load them without any error.

I have tried building few DFSORT cards but nothing worked due to UNICODE conversion and also i am not sure how to convert particular values of a field to different values without affecting its UNICODE STRING format.

I want to do masking this way:

If customer name is NOOR then it should be converted to AIIH.
where N - A, O-I,O-I,R-H. And this should be conversion values.

Can you please through me some ideas?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 09, 2013 12:55 pm
Reply with quote

from Your profile
Quote:
Mainframe Skills: Reading History


if instead of developing the skill of reading history
You had developed the one of reading the manuals,
You would not have had the need to ask icon_cool.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 09, 2013 7:57 pm
Reply with quote

Hello,

Do you have a limited list of values to be "masked"?
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Wed Jan 09, 2013 9:05 pm
Reply with quote

noorkh,
If I understood your requirement correctly, see if ALTSEQ works. I assume you have set of char. that needs to be converted to another set of char.

Thanks,
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 09, 2013 9:27 pm
Reply with quote

NOO way...
IIRC
VARCHAR columns are unloaded as <variable> fields (data length + data )

so defining the places where to carry on the <translation> might be impossible

the algorithm used is not that strong ,
if the organization is a Financial entity somebody might not be happy with such approximate masking

the powers in charge should investigate better
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Thu Jan 10, 2013 12:11 am
Reply with quote

noorkh wrote:

I need to build in between DFSOFT or COBOL process which will mask UNICODE STRING fields(VARCHAR, CHAR) into desired results. And resultant value should be UNICODE STRING only so that i can load them without any error.

I have tried building few DFSORT cards but nothing worked due to UNICODE conversion and also i am not sure how to convert particular values of a field to different values without affecting its UNICODE STRING format.

I want to do masking this way:

If customer name is NOOR then it should be converted to AIIH.
where N - A, O-I,O-I,R-H. And this should be conversion values.

Can you please through me some ideas?


Unicode string? Is it UTF-8 or UTF-16 ? What is the CCSID of the table in production and what is the CCSID of the codepage in Test? You planning to mask with EBCDIC characters?
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top