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
 
How to retrieve data from image copy and quiesce of table

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

New User


Joined: 05 Sep 2006
Posts: 6

PostPosted: Thu Dec 07, 2006 11:59 am    Post subject: How to retrieve data from image copy and quiesce of table
Reply with quote

I have successfully run a one time fix program to update one of the fields in the table.
At the same time I also prepared an output file which holds the old value present in that field before updating it with new value. But some how due to coding mistake, the old value was overridden with new value in the file. Now how can I get back the old values in that particular field? I have the Image copy and quiesce of the table before and after updation. I don?t have any idea how to use these (Image copy and quiesce of the table) in getting back the old values. Can anyone of you please help me in this?
Back to top
View user's profile Send private message

ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Fri Dec 08, 2006 5:26 pm    Post subject: Re: How to retrieve data from image copy and quiesce of tabl
Reply with quote

If you have an IMAGE copy you can Unload image copy and then load replace the table,but make sure that the tablesspace contains only one table.This is an BMC stuff.
Method 1:
UNLOAD
INFILE IMAGECOPY
UNLOADDN SYSREC ACTIVE(YES, NO)
SHRLEVEL CHANGE
CNTLDDN CNTL0001 SORTNUM 32
OUTPUT SYSREC
DSNAME 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
SPACE (100,500) UNIT SYSDA
ORDER NO

the CNTL0001 will contain the load control card you require.

Method 2:
RECOVER TABLESPACE xxxxxx.xxxxx
INCOPY
FULL DSNAME XXXXXXXXXXXXXXXXXXXXXX
SHRLEVEL REFERENCE
OUTCOPY YES OUTCOPYDDN LOCALP
TOCOPY LASTCOPY

My best sugestion would be to contact your DBA,they are always their to help you.

Thanks,
Ravi
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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