Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10232
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: 10232
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us