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 RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
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


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