Here are the commands that I am running

multi partitioned on windows)
For the catalog node:
db2_all "<<+0< db2 restore db prod1 from C:\XXX taken at 20080713211652 into prod5_3 replace existing redirect without prompting"
This was successful with this message:
rah: USER
SQL1277N Restore has detected that one or more table space containers are
inaccessible, or has set their state to 'storage must be defined'.
DB20000I The RESTORE DATABASE command completed successfully.
When I set table space containers using this command, it gives me database connection error:
db2 set tablespace containers for 0 using (path E:\DB2\NODE0000\prod5_3\SQLT0000.0')
SQL1024N A database connection does not exist. SQLSTATE=08003
It worked fine for single partitioned environment.But its giving me this error for multipartitioned environment.
Any advice on how to fix this error would be helpful.