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: 6968
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 HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts Need DB2 query to fetch previous row ! Chandan1993 DB2 10 Sat Jun 03, 2017 10:43 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us