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

RUNSTATS Utility


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nitinkumar.v

New User


Joined: 11 Oct 2007
Posts: 2
Location: india

PostPosted: Fri Aug 14, 2009 12:02 pm
Reply with quote

RUNSTATS TABLESPACE DB2CERTDB.MYTBLSPC1
TABLE (MYTABLE1) COLUMN(ALL)
INDEX

REPORT YES
UPDATE ALL

HISTORY ALL

which of the following statements is true?

A. Cardinality statistics will only be collected on all columns of all indexes on table MYTABLE1.
B. Cardinality statistics will only be collected on the first column of each index on table MYTABLE1.
C. Cardinality statistics will only be collected on all columns of each index associated with table space MYTBLSPC1.
D. Cardinality statistics will only be collected on the first column of each index associated with table space MYTBLSPC1.
[/b]
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Fri Aug 14, 2009 12:15 pm
Reply with quote

A is the correct answer
Back to top
View user's profile Send private message
nitinkumar.v

New User


Joined: 11 Oct 2007
Posts: 2
Location: india

PostPosted: Fri Aug 14, 2009 12:22 pm
Reply with quote

But what i came to know is that...

this will give the statistics of all the columns of the table MYTABLE1 plus the first column of the index...

according to which ans B is correct but partially ....

but surprisingly the given ans is D

icon_confused.gif
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri Aug 21, 2009 3:42 pm
Reply with quote

Hi

If the question given in the forum is correct, then there is no correct answer. Because the utility will throw an error.

RUNSTATS TABLESPACE DB2CERTDB.MYTBLSPC1

The length of database name and tablespace name is greater than 8 character.

Raghu
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
Search our Forums:

Back to Top