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 VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 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


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