Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us