Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Data masking task

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Data masking task
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Wed Jan 09, 2013 12:55 pm    Post subject: Reply to: Data masking task
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

Site Director


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

PostPosted: Wed Jan 09, 2013 7:57 pm    Post subject:
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: 578
Location: USA

PostPosted: Wed Jan 09, 2013 9:05 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Wed Jan 09, 2013 9:27 pm    Post subject: Reply to: Data masking task
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    Post subject: Re: Data masking task
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us