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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


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