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
 
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 WRITE to VSAM giving duplicate RC picus_mf CICS 1 Fri Feb 23, 2018 2:52 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

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