07/13/12 24M Sliming
Database Definition - Set AttributesDatabase Definition - Set Attributes
Sets relate records to each other in IDMS using a Sets relate records to each other in IDMS using a
number of parameters.number of parameters.
PointersPointers: Next, Prior, Owner, Index, Index Owner: Next, Prior, Owner, Index, Index Owner
MembershipMembership: Mandatory Automatic, Mandatory : Mandatory Automatic, Mandatory
Manual, Optional Automatic, Optional ManualManual, Optional Automatic, Optional Manual
OrderOrder (Unsorted sets): First, Last, Next, Prior (Unsorted sets): First, Last, Next, Prior
(Sorted sets): Ascending or (Sorted sets): Ascending or
descending by key descending by key
A database record contains a pointer (aka Db-key) A database record contains a pointer (aka Db-key)
for each record it relates to. ie. If it is stored Next, for each record it relates to. ie. If it is stored Next,
Prior and Owner in a set, it will contain the pointer Prior and Owner in a set, it will contain the pointer
for the owner, previous and next record in the set. for the owner, previous and next record in the set.