Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy Pending Status - Setting Log option YES

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
skgupta81

New User


Joined: 11 Nov 2008
Posts: 27
Location: Canada

PostPosted: Wed Dec 28, 2011 10:23 pm    Post subject: Copy Pending Status - Setting Log option YES
Reply with quote

Hi..

I am performing few tests and need to run the LOAD job several times which locks the table space and I have to tell DBA everytime to unlock the table as I do not have privilege to run the Image copy job in Test region.

I am planning to make the option LOG = YES... so that the table wont go in COPY pending status and I can do my repetitive load tests.

The number of records are no more than 20 for each test.

Can anyone tell me if it will create any issues if I again run the LOAD job for the same table space?

I am planning to put below options for LOAD

LOAD DATA INDDN SYSREC00
LOG YES
RESUME YES
INTO TABLE TABLE01
Back to top
View user's profile Send private message

senthilnathanj

New User


Joined: 31 Jul 2007
Posts: 47
Location: chennai

PostPosted: Thu Dec 29, 2011 11:39 am    Post subject: Reply to: Copy Pending Status - Setting Log option YES
Reply with quote

If it is a copy pending status. Please check the status of the database
-DIS DB(*) SPACENAM(*) RESTRICT in db2commands option.

if any error in that status then start the database with corresponding tablespace with access force option.

-STA DB(XXX) SPACENAM(YYY) ACCESS(FORCE)
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Dec 29, 2011 2:15 pm    Post subject:
Reply with quote

yeah, just force it and then when it is really corrupt ask the dba to help you. (Be prepared to get yelled at.)

maybe it would be better if you ran
Code:
REPAIR OBJECT LOG YES SET table-space-spec NOCOPYPEND

This way you are sure you are only resetting the COPYPEND status
Back to top
View user's profile Send private message
rajesh1183

New User


Joined: 07 Jan 2008
Posts: 98
Location: Hyderabad

PostPosted: Thu Dec 29, 2011 3:50 pm    Post subject: Reply to: Copy Pending Status - Setting Log option YES
Reply with quote

or you can code LOAD card with option

Code:
LOG NO NOCOPYPEND


This will not make your table to go to COPYPEND when you LOAD data...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us