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
 

 

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: 10202
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: 1715
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

Active Member


Joined: 07 Feb 2009
Posts: 984
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 Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


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