IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How the VSAM KSDS uses index to locate the records ???


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thirumurgann

New User


Joined: 13 Feb 2008
Posts: 36
Location: India

PostPosted: Fri Jul 25, 2008 4:53 pm
Reply with quote

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....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 25, 2008 5:01 pm
Reply with quote

There is an IBM Redbook entitled "VSAM Demystified", http://www.redbooks.ibm.com/abstracts/sg246105.html?Open which will provide you with 508 pages of information on how VSAM works, exactly.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 25, 2008 5:03 pm
Reply with quote

A good intro to VSAM
Back to top
View user's profile Send private message
Thirumurgann

New User


Joined: 13 Feb 2008
Posts: 36
Location: India

PostPosted: Fri Jul 25, 2008 5:21 pm
Reply with quote

icon_lol.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 25, 2008 9:03 pm
Reply with quote

Hello,

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.
Back to top
View user's profile Send private message
Thirumurgann

New User


Joined: 13 Feb 2008
Posts: 36
Location: India

PostPosted: Mon Jul 28, 2008 12:18 pm
Reply with quote

icon_biggrin.gif
Back to top
View user's profile Send private message
Thirumurgann

New User


Joined: 13 Feb 2008
Posts: 36
Location: India

PostPosted: Mon Aug 04, 2008 11:56 am
Reply with quote

Thanks dick scherrer
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 04, 2008 12:07 pm
Reply with quote

You're welcome icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top