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
 

 

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 Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 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 Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm
No new posts OUTREC RDW NOT INCLUDED krsenthil85 SYNCSORT 10 Fri May 06, 2016 3:22 am
No new posts Program and its corresponding plan vickey_dw DB2 4 Thu Apr 07, 2016 9:27 pm


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