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

Global Moderator


Joined: 14 Mar 2007
Posts: 10355
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: 1922
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: 1067
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 Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am
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

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