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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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