Tip

Avoid having to create a new version file

Learn how to avoid create new version File (xxxx0001)or Member(xxxx0001) on RSTOBJ, RSTLIB commands?

Please see the following two command statements difference, you will get answer.

1. RSTOBJ OBJ(*ALL) SAVLIB(VENGOAL) DEV(*SAVF) SAVF(TESTSAVF) MBROPT(*ALL) AWOBJDIF(*FILELVL) ==> restored all file member and doesn't recreate new version file or member.

For example:

 
PF on the Tape:         PF on the System:
FILE     : TEST         FILE     : TEST
   MEMBER: TEST            MEMBER: TEST 
           TEST01
 
After executed above command, the result as following:
                        PF on the System:
                        FILE     : TEST
                           MEMBER: TEST(restored from tape)
                                   TEST01(restored from tape) 

2. RSTOBJ OBJ(*ALL) SAVLIB(VENGOAL) DEV(*SAVF) SAVF(TESTSAVF) MBROPT(*ALL) AWOBJDIF(*ALL) ==> If File ID doesn't match, recreate old file on the system to xxxx0001, then restore File xxxx on tape to system. ==> If Member ID doesn't match, recreate old member on the system to xxxx0001, then restore Member xxxx on tape to system.

For example:

 
PF on the Tape:         PF on the System:
FILE     : TEST         FILE     : TEST
   MEMBER: TEST            MEMBER: TEST 
           TEST01 

After executed above command, the result as following:

 If File ID didn't match:
                        PF on the System:
                        FILE     : TEST(restored from tape)
                           MEMBER: TEST(restored from tape)
                                   TEST01(restored from tape)
                        FILE     : TEST0001(rename old PF TEST)
                           MEMBER: TEST(old file member)
 
IF File ID matched and Member ID didn't match:
                        PF on the System:
                        FILE     : TEST
                           MEMBER: TEST(restored from tape)
                                   TEST01(restored from tape)
                                   TEST0001(rename old PF file member TEST)
                         
  

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.


This was first published in January 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.