Hi All,
Here I have one problem during restoration, if anyone could help that would be great.
I am restoring a library via CLLE program in batch.
During restoration if we give a new library name in RSTLIB parameter of RSTLIB command then journals and their receivers are not restored.
Steps that I am doing
Step1: CRTLIB LIB(&MyNewLib)
Step2: I am using following parameters on RSTLIB command
RSTLIB SAVLIB(TEST) DEV(*SAVF) SAVF(SAVELIBSC/MYSAVF) RSTLIB(NIL) OUTPUT(*PRINT)
Here is the error I am getting. All objects are restore except following journal and its receiver.
Message ID . . . . . . : CPF7086 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 08/20/10 Time sent . . . . . . : 01:50:33
Message . . . . : Cannot restore journal PF002JRN to library NIL.
Cause . . . . . : Library NIL is not the library where journal PF002JRN was originally created. Journal PF002JRN was originally created in library TEST and can only be restored to this library. This operation is not allowed because the association between journal receivers and the journal would be lost.
Recovery . . . : Change the name of the library in the RSTLIB parameter value. Then try the request again.
Kindly let me know how we can overcome with this problem.
Here I have one problem during restoration, if anyone could help that would be great.
I am restoring a library via CLLE program in batch.
During restoration if we give a new library name in RSTLIB parameter of RSTLIB command then journals and their receivers are not restored.
Steps that I am doing
Step1: CRTLIB LIB(&MyNewLib)
Step2: I am using following parameters on RSTLIB command
RSTLIB SAVLIB(TEST) DEV(*SAVF) SAVF(SAVELIBSC/MYSAVF) RSTLIB(NIL) OUTPUT(*PRINT)
Here is the error I am getting. All objects are restore except following journal and its receiver.
Message ID . . . . . . : CPF7086 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 08/20/10 Time sent . . . . . . : 01:50:33
Message . . . . : Cannot restore journal PF002JRN to library NIL.
Cause . . . . . : Library NIL is not the library where journal PF002JRN was originally created. Journal PF002JRN was originally created in library TEST and can only be restored to this library. This operation is not allowed because the association between journal receivers and the journal would be lost.
Recovery . . . : Change the name of the library in the RSTLIB parameter value. Then try the request again.
Kindly let me know how we can overcome with this problem.




Comment