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

Find the alternate index of the VSAM file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Wed Feb 18, 2009 3:36 pm
Reply with quote

Dear Friends,
Is there any way to find the alternate index of the VSAM file?

For example:
For X vsam file i need to search how many alternate index were there.


Thanks in Advance
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 18, 2009 3:42 pm
Reply with quote

IDCAMS LISTCAT

Click HERE to read the IDCAMS manual.
Back to top
View user's profile Send private message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Wed Feb 18, 2009 4:17 pm
Reply with quote

Thanks expat.. icon_smile.gif
But LISTCAT just displays the count of data and index for the given VSAM..but the alternate index of the VSAM were not shown.... icon_sad.gif
But if we execute LISTCAT for the AIX file it shows some information about the alternate index file.....


Is there any way to find is there any AIX file for the VSAM...?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 18, 2009 4:25 pm
Reply with quote

Post what you coded
Back to top
View user's profile Send private message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Wed Feb 18, 2009 4:51 pm
Reply with quote

Thanks expat for your reply... icon_smile.gif

Please find the code below:

/* IDCAMS COMMAND */
LISTCAT ENTRIES(HLQ.M11M.XX.XX.C8888)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 18, 2009 4:55 pm
Reply with quote

Put ALL at the end of the command and in the output you will find an area labelled ASSOCIATIONS. In that area you will see if there is an AIX associated to the CLUSTER.
Back to top
View user's profile Send private message
Manigandan Aravindhan

New User


Joined: 09 Oct 2007
Posts: 81
Location: India

PostPosted: Wed Feb 18, 2009 5:10 pm
Reply with quote

Its working...Thanks a lot Expat..... icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top