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
 
I need a JCL to build a plan

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Tue Feb 07, 2006 5:21 pm    Post subject: I need a JCL to build a plan
Reply with quote

Hi ,
I need a JCL to build a plan....It's really urgent....
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Feb 07, 2006 5:43 pm    Post subject:
Reply with quote

I don't know how to build a plan, but the fine manual explains how to bind a plan.

O.
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Wed Feb 08, 2006 11:16 am    Post subject: Re: I need a JCL to build a plan
Reply with quote

Hi Ofer71,

Thanks for the reply.Sorry for not making matters very clear.
I need a JCl to create a plan from the corresponding collections.
The document given by u gives information about creating a plan for the DBRMS.
Can the collections be given in the JCL as members.
As per my When we bind a plan which is not present it gets created..So the JCL is OK....but the exact parameters are doubtful...I am afraid to do some Research...since I cannot afford to make errors.

Thanks,
Nikhil .S.
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Wed Feb 08, 2006 3:47 pm    Post subject: Re: I need a JCL to build a plan
Reply with quote

Hi Nikil,
you can use below step

//BIND EXEC TSOBATCH
//SYSTSIN DD *
DSN SYSTEM(&subsytem_name) RETRY(0) TEST(0)
BIND PLAN (&plan_name) -
PKLIST (&collectionid.*) -
VALIDATE (BIND) -
FLAG (I) -
ACQUIRE (USE) -
RELEASE (COMMIT) -
EXPLAIN (NO) -
ACT (REP) -
OWNER (&owner) -
DYNAMICRULES(BIND) -
CURRENTDATA(NO) -
RETAIN -
ISOLATION (CS)


substitue neccessary parameters starting with '&' above. and if you would like to bind to only some packages mention them as collectionid.package names seperated by commas instead of collectionid.*

here collection id means collection name.

Hope you got me.

Thanks
Rags
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Wed Feb 08, 2006 7:48 pm    Post subject: Re: I need a JCL to build a plan
Reply with quote

Hi Rags,
Thanks....
Regards,
Nikhil .S.
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 Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts Finding the plan when code compiled u... Ahemad DB2 2 Fri Dec 01, 2017 6:38 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 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 Program and its corresponding plan vickey_dw DB2 4 Thu Apr 07, 2016 9:27 pm

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