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
 
Encrypt data in DB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri Sep 05, 2014 11:57 am    Post subject: Encrypt data in DB
Reply with quote

Hi All,

Request all veterans help in the below case.

The requirement is to encrypt confidential data in the Db2 tables. The confidential would include:
PO Number
Customer
Amount

Just wanted to know , is there any JCL or process to do the same.

I understand that DB2 table data cannot be encrypted directly.
Back to top
View user's profile Send private message

gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Sep 05, 2014 1:32 pm    Post subject:
Reply with quote

Please check ENCRYPT_TDES and DECRYPT_BINARY, DECRYPT_BIT, DECRYPT_CHAR, and DECRYPT_DB functions.
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri Sep 05, 2014 3:15 pm    Post subject: Reply to: Encrypt data in DB
Reply with quote

Thanks will check and keep posted
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri Sep 05, 2014 3:28 pm    Post subject: Reply to: Encrypt data in DB
Reply with quote

One more question :

Would the above listed functions encrypt/decrypt data which is already in the table?
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10487
Location: italy

PostPosted: Fri Sep 05, 2014 6:20 pm    Post subject: Reply to: Encrypt data in DB
Reply with quote

does anybody realise that encryption/decryption is more than plain functions calls!

for example ...
encryption/decryption need a KEY ...
what plans are in place for key management ???

just to state one of the problems to be solved
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2032
Location: UK

PostPosted: Fri Sep 05, 2014 11:55 pm    Post subject: Reply to: Encrypt data in DB
Reply with quote

No JCL will be able to do it as that is not the function of JCL. The L may stand for Language but the JC stands for Job Control which means telling the OS what programs you want to run, in what sequence and the resources required. I do not see how you think Job Control could have anything to do with your requirement apart from telling the OS to run whatever you decide needs to be run to satisfy your requirement.
And, as you are enquiring about DB2 encryption why not post i the DB2 part of the forum - that is what it is there for!
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1113
Location: Oostende, Belgium

PostPosted: Sat Sep 06, 2014 1:43 pm    Post subject: Re: Encrypt data in DB
Reply with quote

enrico-sorichetti wrote:
does anybody realise that encryption/decryption is more than plain functions calls!

That realisation has been outsourced by a PHB.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts AFP duplex page containing variable data jose angel santamaria IBM Tools 0 Wed Jul 18, 2018 12:35 pm
No new posts Utility to list Data Set Information Auryn JCL & VSAM 4 Tue Jul 17, 2018 5:03 pm
No new posts Query for fetching matching data in t... Poha Eater DB2 10 Mon Jul 09, 2018 6:06 pm
No new posts How to delete large data. Mounika Nemani DB2 3 Wed Jun 13, 2018 1:58 pm
No new posts Ways to share data between Cobol and ... Benchwarmer Java & MQSeries 3 Thu May 10, 2018 9:16 pm

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