MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to know the job name or the utility pend my space?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Fri Dec 29, 2006 11:18 pm    Post subject: How to know the job name or the utility pend my space? Reply with quote

I run a DISPLAY in DB2 COMMAND LINE.

Then I found my tablespace is pending by other one's job or unility .


Code:
TSXXT075 TS        RW,COPY   


Then I want to find out who job pending my tablespace, how to do with that ?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Dec 30, 2006 2:22 pm    Post subject: Reply with quote

issac1029,

You need to use the option CLAIMERS on the display command so that you can list all the jobs holding the resource.

Code:

-DISPLAY DATABASE(your db) SPACENAM(your ts name) CLAIMERS


Read about CLAIMERS by clicking me


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anu.k
Beginner


Joined: 09 Nov 2006
Posts: 6
Topics: 4

PostPosted: Fri Feb 09, 2007 10:51 pm    Post subject: Reply with quote

Hi Kolusu...

I tried this query in spufi..But it returns sqlcode -104 ..

DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "DISPLAY". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: SELECT, INSERT, UPDATE, DELETE, OPEN, FETCH, CLOSE, ...

Plz advice..
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Feb 10, 2007 10:37 am    Post subject: Reply with quote

anu.k wrote:
Hi Kolusu...

I tried this query in spufi..But it returns sqlcode -104 ..

DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "DISPLAY". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: SELECT, INSERT, UPDATE, DELETE, OPEN, FETCH, CLOSE, ...

Plz advice..


anu.k,

You cannot run the DB2 commands in spufi. In the same DB2 Interactive panel you have option 7 to run DB2 commands. Option 1 is Spufi and option 2 is DCLGen ...

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group