View previous topic :: View next topic
|
Author |
Message |
HananMilman
New User
Joined: 05 Sep 2007 Posts: 3 Location: Israel
|
|
|
|
Hi!
I'm trying to find a way of getting the plan name I'm running with.
for example in db2 v8 NFM, i can do the following
GETVARIABLE(SYSIBM.PLAN_NAME)
i need to get the same result (the name of the plan) in db2 v7.
Thank in advance, |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
Hi,
Do you have the access to run SYSIBM.SYSPLAN,if so try this in QMF or SPUFI
Select * from SYSINM.SYSPLAN where name like 'plan name%'
If you don't have any idea abt plan then try for a
SELECT * FROM SYSINM.SYSPLAN |
|
Back to top |
|
|
HananMilman
New User
Joined: 05 Sep 2007 Posts: 3 Location: Israel
|
|
|
|
The problim is finding the plan name in RUNTIME.
for example :
DSN SYSTEM(db27)
RUN(PROG1) PLAN(PLAN01)
END
How prog1 can know that the plan it's running with is PLAN01 ? |
|
Back to top |
|
|
|