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

I need a JCL to build a plan


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Tue Feb 07, 2006 5:43 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Build a trailer with total an count SYNCSORT 6
No new posts Build two or more rows given some con... DFSORT/ICETOOL 9
Search our Forums:

Back to Top