Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 6966
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us