If your answer is primary key then tell me how it get mapped to index of the particular record. Much confused about index whether its a memory pointer??? please help me to understand this concept clear with some Examples....
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
A somewhat less technical way to think of this is to think of the index of a vsam file like the index of an IBM manual. The index of the manual is concise containing the "key"s and a reference to the page in the manual containing the information.
The index of a vsam file works in much the same way. VSAM locates the key value in the index and from there gets the reference pointer to the actual data.
The actual data is then read and returned to the program like when we go to the indexed page and read what is there.