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

Do we have to give the Plan path in run jcl of COB+db2?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Wed Feb 08, 2006 4:09 pm
Reply with quote

Hi,

Generally we are giving the plan name only in the Run JCL of cobol+db2 pgm.
e.g Plan((Plan name)
But we don't give the path(dataset lib) for that plan as we are giving for cobol load module. the question is How the JCL will find the paln where it is residing? How is it possible only with the plan name?

Please clarify this with e.g .


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

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Wed Feb 08, 2006 4:16 pm
Reply with quote

Hi,
The job will get plan details from sstem catalog of subsytem you mentioned in the JCL.
Back to top
View user's profile Send private message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Wed Feb 08, 2006 4:39 pm
Reply with quote

Hi rags,

Thanks for ur quick reply, still I have one more doubt.

So U mean to say the plan will get stored in system cataloge from there the job will fetch. IS it?

Do we have the more than one plan with the same name in the sstem catalog of subsytem?

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

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Wed Feb 08, 2006 10:02 pm
Reply with quote

Hi sona,
plan name is Unique at subsytem level.So it will fetch its details easily.

If you want create plan for a program under same subsytem but different test region, you can put add a different suffix to plan name(one character to distinguish) in those regions while creating the plans.


Hope you got me.

Thanks
Rags
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 SET PATH in View DDL DB2 2
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts Can you give me examples of programs ... CLIST & REXX 22
No new posts current batch plan DB2 3
No new posts Log an Plan name/id or Job Id using D... DB2 1
Search our Forums:

Back to Top