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

INDEX counts and Index in column


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Fri May 19, 2006 4:29 pm
Reply with quote

Hi All:
I have a typical requirement.
1) I want to find out the number of INDEXes are there in a table.
Same way I want
2) The indexes are indexed on which column?
Please help me out.


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

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Mon May 22, 2006 1:59 pm
Reply with quote

You can run spufi query on SYSIBM.SYSINDEXES table to retrieve number of indexes on your tables.
SYSIBM.SYSKEYCOLUSE can give you index columns.
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Mon May 22, 2006 2:00 pm
Reply with quote

If you run spufi on SYSIBM.SYSKEYS to retrieve IXNAME = NAME of SYSIBM.SYSINDEXES you will get the related index columns.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts first column truncated in search result IBM Tools 13
No new posts Cobol file using index COBOL Programming 2
Search our Forums:

Back to Top