I ran a test and was able to RSTLIB over an existing library. I didn't test for desired results of replacing files if they exist, just that the RSTLIB was allowed to proceed.
I'm on V5R4 just in case that makes a difference.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Thursday, April 12, 2012 14:25
To: 'Midrange Systems Technical Discussion'
Subject: RE: Index Rebuild
The RSTOBJ does not affect (and is not affected by) the library list. It
was the RSTLIB since the library would have to be deleted (wouldn't it?)
before the RSTLIB. That is, if the library to be restored is TESTLIB and
TESTLIB is in the library list, the DLTLIB would blow off. Wouldn't it?
Or was I just my usual unclear self again?
Jerry C. Adams
IBM i Programmer/Analyst
A man has got to know his limitations. - Sgt. Harry Callahan
If a man doesn't try to exceed his limits, how does he know what they are? -
Joseph Adams, Sr.
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Thursday, April 12, 2012 1:20 PM
Subject: Re: Index Rebuild
On 12-Apr-2012 11:04 , Jerry C. Adams wrote:
Oh, I don't know if there's any real good reason for using the RSTOBJ
as opposed to RSTLIB. The only thing that occurred to me is that (a)
I have different profiles for production and test, and (b) on a day
like today I did the restore while in my test profile; I'm just too
callous or lazy to always sign off so the RSTOBJ doesn't care about
the library list.
What about a RSTOBJ is presumed to be affected by Library List [of the
job making that restore request]?
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.