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 

regarding alternate index

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
kavya
Beginner


Joined: 22 Sep 2005
Posts: 12
Topics: 8

PostPosted: Tue Sep 27, 2005 7:17 am    Post subject: regarding alternate index Reply with quote

hi everyone i want to create alternate index i have done build index and if i am not creating path will it cause any problem,.....
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Sep 27, 2005 7:28 am    Post subject: Reply with quote

Kavya,

Path is the logical entity which connects your primary and alternate indexes. When you build the index, the alternate index dataset gets populated with the key values but during program execution the path is the only way by which the program relates an alternate index with primary index. So, if you don't create a path, you cannot refer a VSAM using alternate key. You must use only Primary key to access any record.

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Tue Sep 27, 2005 7:29 am    Post subject: Reply with quote

Kavya,

If you don't plan to use the alternate index then there is absolutely no problem if you don't create the path. Then the question arises as why you even created an alternate index.

Before accessing a cluster through an alternate index, a path must be defined. A path is the mean by which a base cluster is accessed through its alternate indices. At least one path must be defined for each of the alternate indices through which the base cluster is to be accessed. The path name refers to the base cluster and alternate index pair. When a program opens a path for processing, both the base cluster and the alternate index are opened. A base cluster plus all its AIXs is called a sphere.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kavya
Beginner


Joined: 22 Sep 2005
Posts: 12
Topics: 8

PostPosted: Tue Sep 27, 2005 11:38 pm    Post subject: Reply with quote

hi if i use relate while defining alternate index i think its no need to define path again as it is linked with base cluster...plse correct me if i am wrong
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Sep 28, 2005 12:48 am    Post subject: Reply with quote

kavya,

I absolutely don't understand what you are trying to do. Either you open multiple threads for the same question or post multiple replies every 2-3 mins. Stay cool and press the submit button only once. !!!

I am deleting your duplicate post. (Sep 28, 2005 10:11 am).

Thanks,
Phantom
Back to top
View user's profile Send private message
kavya
Beginner


Joined: 22 Sep 2005
Posts: 12
Topics: 8

PostPosted: Wed Sep 28, 2005 2:20 am    Post subject: Reply with quote

WAITING 4 REPLY
Back to top
View user's profile Send private message
kavya
Beginner


Joined: 22 Sep 2005
Posts: 12
Topics: 8

PostPosted: Wed Sep 28, 2005 3:25 am    Post subject: Reply with quote

plsee tell me the difference between relate and path.what actually relate does and path do.... Question
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Wed Sep 28, 2005 3:29 am    Post subject: Reply with quote

The syntax is

RELATE (base cluster name)

This is a required parameter and it establishes relationship between the base cluster & AIX.
Back to top
View user's profile Send private message Send e-mail
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Wed Sep 28, 2005 3:34 am    Post subject: Reply with quote

Path is used to link JCL DSN to VSAM AIX.

The Pathname becomes the DSN in the run JCL.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Sep 28, 2005 4:21 am    Post subject: Reply with quote

kavya,

You just lost privileges to post on this board.

Thanks

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Wed Sep 28, 2005 6:32 am    Post subject: Reply with quote

By looking at these post's , it implies that Kavya has not gone thru VSAM
alternate index. Shocked

unless you have don't know concepts , posting on them
is realy a home work for others.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management 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