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

Query to check whether some XXXX is a vlid plan or not.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Wed Jul 29, 2009 7:13 pm
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: 6966
Location: porcelain throne

PostPosted: Wed Jul 29, 2009 7:30 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts RC query -Time column CA Products 3
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top