IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Alternate Key In Select statements


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rakesh pattanayak

New User


Joined: 29 May 2007
Posts: 16
Location: bangalore

PostPosted: Tue May 29, 2007 6:08 pm
Reply with quote

Can anyone explain the alternate key concept in the Select statement

select <file-name> assign to <system-name>
organization is indexed
access mode is ......
record key is ........
alternate key is ....
file status........
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue May 29, 2007 6:18 pm
Reply with quote

Hello,

Alternate keys provide additional random access to the file. In addition to reading records directly by the primary key (i.e. employee-id), you might want to access people in the same department (i.e dept-no).
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed May 30, 2007 12:06 am
Reply with quote

In addition to Dick..........read and find out more about VSAM.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Alternate key data extracttion COBOL Programming 13
No new posts Dynamically build unload and load sta... DB2 14
No new posts Dynamically build sort control statem... SYNCSORT 18
No new posts Inserting into table while open selec... DB2 1
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:


Back to Top