View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Hi
In our mainframe project, we always do a package bind for cobol-db2 program. and run the program using Jcl by IKJEFT01 step.
I got this doubt as we know that only plan is executable.
Then how my jobs running fine with just package BInd. Please help.
Thanks |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Although you execute the Plan, it refers to the package, either explicitly, or to the collection where the package resides.
Someone at your shop should explain to you how the Plans and Packages are organized. |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
The SYSTSIN CARD is
DSN SYSTEM(SSNID)
RUN PROGRAM(XYZPROG) PLAN(CREATORB)
END
'understood ,you said plan CREATORB points to a collection where package of XYZPROG gets added by the package bind command.
Now my query is when exactly we go for a Plan bind.
in my project 'never did a plan bind. -
Please let me know, Thanks |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Plan CREATORB is probably a shared plan used by all programs/packages in the COLLECTIONB collection.
All the packages in this collection probably refer to SCHEMAB.
It was probably set up by your DBA staff, and should not be touched.
You see I said probably several times. This is because....
Someone at your shop should explain to you how the Plans and Packages are organized.[/b] |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Thanks for the infos...@dave. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
Back to top |
|
|
|