MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Alternative Index

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kappurajesh
Beginner


Joined: 29 Mar 2004
Posts: 19
Topics: 13
Location: India

PostPosted: Sat Jul 31, 2004 11:43 pm    Post subject: Alternative Index Reply with quote

1. Can we update directly to Alternative Index ?


2. If yes, it can be updated in base cluster?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Aug 02, 2004 7:46 am    Post subject: Reply with quote

Depends upon what you mean by updating the alternate index. The alternate index is just a collection of keys to address the base cluster. If you want to update the base cluster using alternate keys, ok. If you want to change the alternate index itself then the base will know nothing about it.
Back to top
View user's profile Send private message Visit poster's website
kappurajesh
Beginner


Joined: 29 Mar 2004
Posts: 19
Topics: 13
Location: India

PostPosted: Mon Aug 02, 2004 9:32 am    Post subject: Reply with quote

If we insert into alternative index, it can be reflected in base cluster or not
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Tue Aug 03, 2004 12:38 am    Post subject: Reply with quote

Like I said, the alternate index is not a normal dataset. If you insert a RECORD into the base cluster using the alternate index then that is ok. If you insert a index into the alternate index then the base cluster knows nothing about it. You obviously do not understand the concepts here. Read up on them.
A dataset (for example a KSDS dataset) is usually defined first. Then an alternate index is defined and a build index is run against the original dataset building a list of all the alternate index keys. The data is not held in the alternate index, just the reference to the original dataset.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group