Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
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
References
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

Active 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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1