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
 
Search which DBRM has been included in particular Plan

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Search which DBRM has been included in particular Plan
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    Post subject: Re: db2
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    Post subject: Re: Search which DBRM has been included in particular Plan
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    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 How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 4 Sat Apr 14, 2018 1:58 am
No new posts Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts TBSARG - Deleting the search criteria... ISPFHerc TSO/ISPF 6 Thu Dec 14, 2017 8:18 am
No new posts Finding the plan when code compiled u... Ahemad DB2 2 Fri Dec 01, 2017 6:38 pm

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