View previous topic :: View next topic |
Author |
Message |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Wed Sep 29, 2004 6:29 pm Post subject: To check whether a package is in use |
|
|
Is there DB2 command to check whether a package/plan is in use by a job/user? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Wed Sep 29, 2004 7:02 pm Post subject: |
|
|
Whizkid79,
Once again this is similar to your other question you posted. If you have Omegamon at your shop , you can look at the status of your PLAN/PACKAGE execuetion. However if you want to know all the programs using the plan then following query would give you the desired results.
Code: |
SELECT PLNAME
FROM SYSIBM.SYSDBRM
WHERE NAME= 'YOUR PROGRAM NAME'
;
|
Hope this helps...
cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
whizkid79 Beginner

Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Wed Sep 29, 2004 9:00 pm Post subject: |
|
|
Kolusu,
I dont have omegamon. i have DB2I. Is there any option in this that can help me for the same? I thought there might be some DB2 line command for this. |
|
Back to top |
|
 |
|
|