sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Hi Gjdeluca,
Dynamically changing a plan inside a program, i dont know or i never seen somebody do it.
Quote: |
Our bind procedure creates a plan for each group of tables by owner. |
You can bind to different set of collections and these collection has to be in the same plan. Like one collection is called COLGRPA and the other one is called COLGRPB and these have to be bound to a plan PLNGRPS.
Quote: |
If I want to process the group B tables I execute the same cobol program using the plan for group B |
In your COBOL program, use
Code: |
SET CURRENT PACKAGESET = :collection-name |
to switch collection.
And ofcourse, you have to change the qualifier of both packages.
Thank You,
Sushanth |
|