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
 
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 0 Thu Nov 23, 2017 10:24 am
No new posts Need help on SFTP alternate for LOCSI... ashok_uddaraju JCL & VSAM 2 Thu Oct 26, 2017 12:43 am
No new posts Copying part of the report using SARBCH Aedulla CA Products 1 Tue Oct 24, 2017 9:24 am
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

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