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
 

 

how can we use 2 keys while using in VSAM?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
babun

New User


Joined: 03 Aug 2005
Posts: 9
Location: bangalore

PostPosted: Thu Dec 15, 2005 10:12 pm    Post subject: how can we use 2 keys while using in VSAM?
Reply with quote

Hi folks
i have the req of using 2 keys in ksds(VSAM),,so we can use the one key like keys(7,14),,but can we use combination of keys? if we can can u pls answer & send it to me asap pls..
babu
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Dec 15, 2005 10:34 pm    Post subject:
Reply with quote

I'm almost sure that is for this reason that the alternate index exists.
Try to create an alternate index.
The AMS command to define and alternate index are:
Code:
DEFINE AIX (NAME(myVsam.AIX)   -
       RELATE(myFirstVsam))    -
       DATA (...)              -
       INDEX (...)     
DEFINE PATH (NAME(myVsam.PATH) -
       PENT(myVsam.AIX))
BLDINDEX                       -
       INDATASET(myFirstVsam)  -
       OUTDATASET(myVsam.AIX)


To have more information about VSAM try to visit this link:
http://www.jaymoseley.com/hercules/vstutor/vstutor.htm

I hope in this suggest.
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 -> DFSORT/ICETOOL 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 1 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 BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am


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