IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy pending status of a table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajesh_m

New User


Joined: 15 Apr 2008
Posts: 39
Location: India

PostPosted: Thu Apr 17, 2008 5:17 pm
Reply with quote

How to check the copy pending status of a table. Is there any status field kind of thing to check the status.
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Fri Apr 18, 2008 3:14 pm
Reply with quote

rajesh_m wrote:
How to check the copy pending status of a table. Is there any status field kind of thing to check the status.


-DISPLAY DATABASE(dddd) SPACENAM(tttt)

If u display it will show the status of the space whether in R/RW mode.
Back to top
View user's profile Send private message
rajesh_m

New User


Joined: 15 Apr 2008
Posts: 39
Location: India

PostPosted: Sat Apr 19, 2008 8:17 pm
Reply with quote

I want to know it from a sql query is it possible?
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Mon Apr 21, 2008 11:57 am
Reply with quote

rajesh_m wrote:
I want to know it from a sql query is it possible?


may be but i am not sure of that some one has to throw lite on this.
Back to top
View user's profile Send private message
Ajesh

New User


Joined: 03 Apr 2008
Posts: 6
Location: Chennai

PostPosted: Tue Apr 22, 2008 11:55 am
Reply with quote

Rajesh,

When u try to access a table which is in copy pending status,the SQL query will return you an SQL code -904.This way you can identify it.

Hope this solves your problem.
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Tue Apr 22, 2008 12:26 pm
Reply with quote

Ajesh wrote:
Rajesh,

When u try to access a table which is in copy pending status,the SQL query will return you an SQL code -904.This way you can identify it.

Hope this solves your problem.


The copy pending status will appear when image copies job fails while copying the data to Tape or DASD. So the Tablespace status will be copy pending status and the table will be an read only table with no updates.
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Tue Apr 22, 2008 3:36 pm
Reply with quote

rajesh_m wrote:
I want to know it from a sql query is it possible?

You need to have a DB2 command processor for that! icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts Pulling a fixed number of records fro... DB2 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top