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

Search which DBRM has been included in particular Plan


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

New User


Joined: 25 Jul 2005
Posts: 1

PostPosted: Mon Aug 01, 2005 3:56 pm
Reply with quote

Hi all,


How to search which DBRM has been included in particular Plan?

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

New User


Joined: 11 May 2005
Posts: 14
Location: Bangalore, India

PostPosted: Tue Aug 02, 2005 10:49 am
Reply with quote

This will be mentioned in the JCL which you are using for the BIND.

See the example below:

//*---------------------------------------------------------------------
//* PERFORM DB2 BIND ON PLAN
//*---------------------------------------------------------------------
//*
//BIND EXEC PGM=IKJEFT01,
// DYNAMNBR=20,
// COND=(04,LT,FIR0ERM)
//*
//STEPLIB DD DISP=SHR,DSN=SYS1.DSNDBN1.RUNLIB.LOAD *1 DAI#DB2S
// DD DISP=SHR,DSN=SYS1.DSNDBN1.SDSNLOAD *1 DAI#DB2S
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (DBN1)
BIND PLAN(FIR0ERMU) -
MEMBER(FIR0ERM) -
LIBRARY( -
'FIRR034.SHINJU.DBRM' -
'FIRR034.DEV.DBRM' -
'FIRR034.SYS.DBRM' -
'FIRR034.REL.DBRM' -
) -
OWNER(FIRDEV),QUALIFIER(FIRDEV),KEEPDYNAMIC(YES) -
DEGREE(ANY),CURRENTDATA(NO),DYNAMICRULES(BIND)
END
//*

here name of the DBRM is FIR0ERM and the libraries where to search for them are:
'FIRR034.SHINJU.DBRM' -
'FIRR034.DEV.DBRM' -
'FIRR034.SYS.DBRM' -
'FIRR034.REL.DBRM' -

Thanks & Regards,
Shinjini
Back to top
View user's profile Send private message
kvivek

New User


Joined: 09 May 2005
Posts: 51
Location: Singapore

PostPosted: Tue Aug 02, 2005 11:11 pm
Reply with quote

Quote:
How to search which DBRM has been included in particular Plan?

You could get all the packages which are bound to the plan using following query
Code:
SELECT * FROM SYSIBM.SYSPACKLIST WHERE PLANNAME='PLAN'
Where "PLAN" is your plan name.

Regards,
Vivek
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 Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts first column truncated in search result IBM Tools 13
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts To search DB2 table based on Conditio... DB2 1
Search our Forums:

Back to Top