Avoid having to create a new version file

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

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

Dig deeper on iSeries system performance and monitoring

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close