Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2006

Tip: Looking for answers? Try searching our database.

DB2 Rollforward DB query status

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jadionne@gmail.com - 14 Mar 2006 13:28 GMT
I am doing a rollforward and want to query the status of the
rollforward.  I issue the command: DB2 Rollforward database namdwh
query status.
I get the following error:
C:\Documents and Settings\webi>db2 rollforward database namdwh query
status
SQL1035N  The database is currently in use.  SQLSTATE=57019

I know its in use...I am the one using it.  How do I get around this?
Norbert Munkel - 14 Mar 2006 14:08 GMT
Hi,

jadionne@gmail.com schrieb:
> I am doing a rollforward and want to query the status of the
> rollforward.  I issue the command: DB2 Rollforward database namdwh
[quoted text clipped - 5 lines]
>
> I know its in use...I am the one using it.  How do I get around this?

"query status" does not work while the database is rolling forward. The
SQL1035N results from an ongoing rollforward operation.

"db2 list utilities show detail" and db2diag.log should tell you a
little bit more about the current rollforward state.

regards,

Norbert
jadionne@gmail.com - 14 Mar 2006 15:12 GMT
Thanks for the fast reply!!  This helped greatly.
jdokos - 16 Mar 2006 15:50 GMT
You can also use 'db2pd -db dbname -recovery' if you are on 8.2
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.