Solved

I started a database with acess(force) now even after I start it with rw the runstats job gives an error

Posted on 2007-11-28
4
889 Views
Last Modified: 2008-02-01
Hi  I ran a RUNSTATS on a table space and it gave me s322 on my job which indicates time out.
Now when I checked this table space was in RW,UTRW so I started the database with access(force)
.Now when I run the runstat again it is giving that access(force) prevails and runstats cannot be performed.Now I restarted again with access(rw) but still it gives the previous error.Please help
0
Comment
Question by:Nigelle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 20364731
what do you mean by the previous error  ?
the s322 error ?
if so, you have 2 options :
1) increase the time limit in your jcl
2) make your job process less, if you runstat several objects then split it to several jobs
if you only process one object you can try to process only the table and not the indexes and then runstats the indexes in a different job, or you can try to use the sample parameter in order to scan less data
0
 

Author Comment

by:Nigelle
ID: 20364804
The problem here is after the ts has been started with access(force),I am not able to bring it back to r/w.can you please suggest something.start with acess(rw) is not working.start process executes succesfullya and ts comes to rw mode but when I run the runstats it it says table space in access(force).
I have already increased the time to time =1440
I am sure it is not because of splitting.
it is just because the utility is still finding the table in access(force) whatever that means.
0
 
LVL 37

Expert Comment

by:momi_sabag
ID: 20366885
can you post here the exact output you recieve in sysprint ?
0
 

Accepted Solution

by:
muga11 earned 500 total points
ID: 20473587
You have to terminate utility. Issue db2 command, to check the status of utility:
- dis util (*)

if there is stopped utility then terminate it:
- term util (utilid)

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question