× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Jim.
 
Since the user is asking only source members to be restored,I guess we need to run only the 1st command- i.e
 
RSTOBJ OBJ(QCLSRC)
           SAVLIB(CDLIB)
           DEV(yourdevicenamehere)
           OBJTYPE(*FILE)
           FILEMBR((QCLSRC (EWXP667)))
 
At this moment the user has not asked the program objects since I beleive he is interested only in seeing the source EWXP667.
 
So the above command should serve the purpose as far as viewing the source  EWXP667 in CDLIB/QCLSRC is concerned.
 
Pls advice.
Darell

 


--- On Tue, 31/8/10, Jim Oberholtzer <midrangel@xxxxxxxxxx> wrote:


From: Jim Oberholtzer <midrangel@xxxxxxxxxx>
Subject: Re: Restore Source Members
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Tuesday, 31 August, 2010, 4:00 PM


  Darell:

Yes, this would restore the member to the same library/file as the saved
object, and yes you should see the source.

The program object would not be restored by this command, you would need
to restore it separately.  After the restoration of the program object,
assuming it's in the same library, the Aug 4 version would be there and
replace the Aug 14 version.  Caution is urged to be sure that the
program is not part of an ILE binding group etc.  Be sure that you get
all the parts needed.

A restore of the program object might look like:

RSTOBJ OBJ(EWXP667)
        SAVLIB(CDLIB)
        DEV(yourtapedevicehere)
        OBJTYPE(*PGM)

In this case the object would be replaced.  Make sure it is not in use
as bad things can happen if you are replacing a newer object with an
older one.  Again the same advice for finding the sequence number on the
tape should be followed.

A little time with the back up and recovery portion of the IBM i web
site might be in order.

Jim Oberholtzer
CEO/Chief Technical Architect
Agile Technology Architects, LLC


On 8/31/2010 10:25 AM, Darell Wheeler wrote:
Thanks Jim.
   
Will this command restore the member to the same library CDLIB?After this restore will I be able to see the source EWXP667 when I do  wrkmbrpdm QCLSRC/CDLIB.?
   
Also the program object EWXP667 exist in the library CDLIB for 14th Aug.The user wants the source to be restored from 4th Aug.So after the above restore will this program object for 14th Aug be replaced?
   
Please advice

--- On Tue, 31/8/10, Jim Oberholtzer<midrangel@xxxxxxxxxx>  wrote:


From: Jim Oberholtzer<midrangel@xxxxxxxxxx>
Subject: Re: Restore Source Members
To: "Midrange Systems Technical Discussion"<midrange-l@xxxxxxxxxxxx>
Date: Tuesday, 31 August, 2010, 1:05 PM


    Darell:

I am guessing that EWXP667 is a member.  With that:

ew  RSTOBJ OBJ(QCLSRC)
           SAVLIB(CDLIB)
           DEV(yourdevicenamehere)
           OBJTYPE(*FILE)
           FILEMBR((QCLSRC (EWXP667)))

will do it.  A good idea would be to use the sequence number of the
object on the tape if you can get it.  If you display the object
description of cdlib/qclsrc it will show you the last tape and sequence
number it was backed up on.

If this is from BRMS, you should be able to use BRMS to recover the
object and member you want from any back up where the tape is not
expired.  If you would like some help with that, give me a private shout.

Jim Oberholtzer
CEO/Chief Technical Architect
Agile Technology Architects, LLC


On 8/31/2010 7:39 AM, Darell Wheeler wrote:
  Hi,

  Can anyone please let me know,how to restore source members from any backup.

  For example:

  Restore CDLIB/QCLSRC EWXP667(*FILE)

  where QCLSRC is the source physical file in library CDLIB.I am not sure what EWXP667 will mean because we have to restore source members and EWXP667 is *FILE.

  Can anyone please help me out with this restore?

  Many Thanks
  Darell

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.