Question

  Asked: Apr 28 2008   9:00 PM GMT
  Asked by: Leah Rosin


Restoring journal receivers


AS/400 errors, AS/400 database, AS/400 journaling

A search400 reader wrote in with this question:
A situation has come up in our shop where we need to restore the QAUDJRN receivers from the production box to the test box (due to storage limitations and the large size and number of the receivers to be restored).

We ran the following command:

RSTOBJ OBJ(AUDRCV*) SAVLIB(##AUDITRCV) DEV(TAPxx) ENDOPT(*LEAVE) RSTLIB(MYLIB) The library on the prod box is in ASP1, while the library we wanted to restore the receivers to on test is in ASP2. The following messages appeared in the job log for each receiver:

Message . . . . : JRNRCV AUDRCVxxxx restored to ASP 2.

Cause . . . . . : The object was saved from auxiliary storage pool (ASP) 1. However, when the object was restored, library MYLIB existed in ASP 2. When a library exists in a user ASP, all objects in that library must be in the same ASP.



When I looked for the journal receivers, they are not there. They're not anywhere. Where did they go? How can we restore the journal receivers?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0




Hi,

If you're able to, rename the library with the objects and then create a library with the original name in ASP 1, move all the objects to this new library, delete the renamed (now empty) library and try the restore again.

Not a nice way to do this, but it should work. This is one of the reasons I don't recommend using ASPs.

Regards,

Martin Gilbert.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register