473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

attempting to use restore redirect for 3 tablespaces. Job fails SQL2034N The address

1
I noticed three tablespaces initially in a State X4000. I also noticed I did not have a valid backup. Therefore, I attempted to do a restore redirect using a offline backup image from another server for the three tablespaces.

I modified the restore redirect script to provide valid file paths for the containers. When I execute the script I get the following error
SET CLIENT CONNECT_MEMBER 0
DB20000I The SET CLIENT command completed successfully.

RESTORE DATABASE SHOP390 TABLESPACE ( "TSERVICELEVELTS" , "TSERVICELEVELIS" , "CDTSERVICELEVELTS" ) FROM '/db/a3inshpt/db2backup' TAKEN AT 20160907102438 INTO SHOP390 REDIRECT
SQL2034N The address of the "tablespaces" parameter is not valid.

DB20000I The UPDATE COMMAND OPTIONS command completed successfully.

SET CLIENT ATTACH_MEMBER 0
DB20000I The SET CLIENT command completed successfully.

SET CLIENT CONNECT_MEMBER 0
DB20000I The SET CLIENT command completed successfully.

RESTORE DATABASE SHOP390 TABLESPACE ( "TSERVICELEVELTS" , "TSERVICELEVELIS" , "CDTSERVICELEVELTS" ) FROM '/db/a3inshpt/db2backup' TAKEN AT 20160907103721 INTO SHOP390 REDIRECT
SQL2034N The address of the "tablespaces" parameter is not valid.


Does anyone know how to resolve this?

Also, the tablespaces are now in a recover pending state.

I would like to drop the tables and the three tablespaces and rebuild them, but due to them in the recovery pending state this is prohibited. Does anyone know how to drop tables when the tablespaces are in recovery pending?

Thanks

Larry Karl
Sep 7 '16 #1
0 1804

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Lady_A | last post by:
I have created a basic COM in-proc server and a client. The registration of my server succeeds according to regsvr32. I can see it in the registry, having the ProgID and the InProcServer32...
3
by: Vikrant | last post by:
Friends, Due an application (old) install program problem, Under AIX I could only create DB2 instance, I could also catalog it. Its complex application and I am not expert in creating full...
4
by: Raquel | last post by:
How are the following two commands different as far as the 'end result' of the restores is concerned: 1. db2 RESTORE DB mydb 2. db2 RESTORE DB mydb TABLESPACE In other words, in the above...
4
by: Jag | last post by:
Hi all, I am trying to see if backup taken at db2 V7.2 can be restore redirected on V8 any one faced this problem?? regards, jag
4
by: Bob H | last post by:
Hi, I'm aware of the different ways to pass variables between ASP.Net pages. For pages that need to pass a variable, we're using the server.transfer method. For others, we're using...
9
by: Klem | last post by:
Hi I am expiriancing a very,very strange problem. I have an asp.net application that hangs (sometimes) when trying to execute Response.Redirect("page.aspx",true) command. What is very strange...
8
by: Mantorok | last post by:
Hi all When I start a new thread that tries to call: HttpContext.Current.Response.Redirect() It fails as Current returns null, is there anyway to access the current httpcontext from within...
1
by: Shark Bait | last post by:
The code below is in my global.asax. When a user uploads a file that is to big it catches the error and tells the user the problem. For some reason the redirect never happens. When steping through...
5
by: sconeek | last post by:
hi all, I am trying to re-direct a html page to the root of a server (eg. localhost:8080/index.html). However the problem is that I dont want to hard code the name of the server (localhost) as...
1
by: Greg Nash | last post by:
DB2 9.1.3 on Windows. If I take a backup from a system where all DB2 data is on drive D: and try to restore or "create from backup", onto drive E: of another system, I find: - System managed...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.