Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us