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 to check whether some XXXX is a vlid plan or not.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 67
Location: 125.16.180.5

PostPosted: Wed Jul 29, 2009 7:13 pm    Post subject: Query to check whether some XXXX is a vlid plan or not.
Reply with quote

Hi all,

Good Day!!

I wanna check, whether a plan say PPPP and collection CCCC is existing or not in my db2 subsystem.
I cannot use DB2 file aid, so i must find out this by writing a query.

Can some one please help me in doing this !!

Hope am clear, please write back if any more informations is needed or the problem statement is not clear.

Thanks !!
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Wed Jul 29, 2009 7:30 pm    Post subject:
Reply with quote

look in the appendix for any sql reference. A List of ibm supplied tables is there, info about (what is contained), as well as sql for some exercises.
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Thu Jul 30, 2009 11:57 pm    Post subject:
Reply with quote

karthik_sripal,

Query on SYIBM.SYSPLAN or SYSIBM.SYSPACKAGE tables.


UNTESTED EXAMPLE:

SELECT *
FROM
SYSIBM.SYSPLAN
WHERE NAME = ' XYX'
WITH UR;
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 -> DB2 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 query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 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