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 reg query on DYNALLOC feature raghuraman123 SYNCSORT 12 Wed Jan 10, 2018 2:42 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Native SQL Query kishpra DB2 1 Wed Nov 22, 2017 8:38 pm

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