MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Table showing the current EXPLAIN status

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
SMS
Beginner


Joined: 16 Oct 2005
Posts: 53
Topics: 24

PostPosted: Fri Jul 20, 2007 3:32 pm    Post subject: Table showing the current EXPLAIN status Reply with quote

Hi,

I am looking for a DB2 catalog table which shows whether the EXPLAIN is current or not.

SYSIBM.SYPLAN shows only whether a plan has EXPLAIN or not ('Y' or 'N').

I've around 300 tables. At one shot I would like to extract this info.
Can anyone help me ? Your inputs are appreciated.

Thanks
SMS
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Mon Jul 23, 2007 1:52 am    Post subject: Reply with quote

The EXPLAIN is current, if the consistency token stated in the explain table row matches the consistency token within the load module you are executing. Since DB2 cannot know, what load library you are using, you cannot find this information in the DB2 catalog.

regards
Christian
Back to top
View user's profile Send private message
SMS
Beginner


Joined: 16 Oct 2005
Posts: 53
Topics: 24

PostPosted: Mon Jul 23, 2007 12:09 pm    Post subject: Reply with quote

Christian,

Thanks for the information.

Regards,
SMS
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group