Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reading a VSAM using part of the alternate index key

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Wed Nov 19, 2008 9:38 am    Post subject: Reading a VSAM using part of the alternate index key
Reply with quote

Hi.. all,
I am trying to read a VSAM(KSDS) using the alternate index.
My alternate index is unique which contains primary key also(
i.e. AI= x+primary key). x is not unique. I want to fetch all the primary key values associated with a given x. But its showing that record does not exist.

Could any one please explain whether it is possible to read the VSAM
using a part of the alternate index??
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Nov 19, 2008 11:37 am    Post subject:
Reply with quote

Look here
http://ibmmainframes.com/viewtopic.php?t=30026&highlight=partial
http://ibmmainframes.com/viewtopic.php?t=21551&highlight=partial
http://ibmmainframes.com/viewtopic.php?t=18044&highlight=partial
Back to top
View user's profile Send private message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Thu Nov 20, 2008 10:49 am    Post subject: Reply to: Reading a VSAM using part of the alternate index k
Reply with quote

Thank you so much.. icon_biggrin.gif
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Nov 20, 2008 11:18 am    Post subject:
Reply with quote

Quote:
Thank you so much..

Welcome... icon_smile.gif
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us