Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Query on INDEX SET

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
kanna n

New User


Joined: 04 Oct 2007
Posts: 12
Location: pune

PostPosted: Tue Mar 11, 2008 7:19 pm    Post subject: Query on INDEX SET
Reply with quote

HI,

if i define an Index set as below.......

what is that 12 keys?? how to calculate that count.

ADD
SET NAME IS ABCDEF
ORDER IS SORTED
MODE IS INDEX BLOCK CONTAINS 12 KEYS
OWNER IS SYSTEM
WITHIN AREA WXYZ-AREA OFFSET 0 PERCENT FOR 100 PERCENT


can any one please help me in this ??

thanks in advance..
Back to top
View user's profile Send private message

Shaheen Kalokhe

New User


Joined: 21 Feb 2008
Posts: 21
Location: India

PostPosted: Wed Mar 12, 2008 12:10 pm    Post subject: Re: Query on INDEX SET
Reply with quote

Hi Kanna,

The Keys that you have in the Index are one/more Fields that are part of your Actual Physical Record. The key(s) tells us the fields on which the Index record is sorted.
Back to top
View user's profile Send private message
kanna n

New User


Joined: 04 Oct 2007
Posts: 12
Location: pune

PostPosted: Wed Mar 12, 2008 3:15 pm    Post subject: Reply to: Query on INDEX SET
Reply with quote

thanks.

but is there any algorithm or formula to calculate that key count??
if so how.
Back to top
View user's profile Send private message
Shaheen Kalokhe

New User


Joined: 21 Feb 2008
Posts: 21
Location: India

PostPosted: Tue Mar 18, 2008 5:28 pm    Post subject: Re: Reply to: Query on INDEX SET
Reply with quote

As per my knowledge there are no algorithms, the DBA'S decide the sort keys when designing the databse as per the requirements.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Confusion b/w index and subscript Deepak kumar25 Mainframe Interview Questions 7 Thu Aug 31, 2017 6:50 am
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us