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
 
what's difference between master key and unique key

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
seman18

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Tue Feb 15, 2011 2:00 pm    Post subject: what's difference between master key and unique key
Reply with quote

what's difference between master key and unique key? thanks in advance.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Feb 15, 2011 2:21 pm    Post subject:
Reply with quote

anyone can use a master key,

but a unique key is held by one person.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Feb 15, 2011 6:49 pm    Post subject: Reply to: what's difference between master key and unique ke
Reply with quote

the question as posed does not make any sense!
in what context are the terms used....

in a contextless environment the two terms are not related!

in cryptography
a master key is the key under which all the other keys used are encrypted
or the first key of a multi key encryption system

in database/data management
a unique key is the <thing> that uniquely identifies a row/record!

so You see that You have a loong way to explanations in order to get a proper answer
Back to top
View user's profile Send private message
seman18

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Wed Feb 16, 2011 7:40 am    Post subject:
Reply with quote

sorry, it is datacom, I missed that
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 Feb 16, 2011 9:53 am    Post subject:
Reply with quote

Hello,

A "unique" key does not allow duplicate entries.

A Datacom table may have a Master Key and Native Key. You need to read about these in the DBA documentation for your release of Datacom.

Suggest you also look at a CXX report for a few databases and see how these have been used on your system.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm

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