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
 
How the VSAM KSDS uses index to locate the records ???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How the VSAM KSDS uses index to locate the records ???
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: 8280
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 25, 2008 5:01 pm    Post subject:
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: 8657
Location: Back in jolly old England

PostPosted: Fri Jul 25, 2008 5:03 pm    Post subject:
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    Post subject: Thanks Robert for reffering such wonderful book
Reply with quote

icon_lol.gif
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: Fri Jul 25, 2008 9:03 pm    Post subject:
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    Post subject: Clear explanation Thanks dick scherrer
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    Post subject:
Reply with quote

Thanks dick scherrer
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: Mon Aug 04, 2008 12:07 pm    Post subject: Reply to: How the VSAM KSDS uses index to locate the records
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    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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

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