There are times where the sequence of when you restore a specific library becomes important. Many times it is because of dependencies that objects have across libraries. To assist in these situations, BRMS has provided a way to prioritize these libraries as well as list them ahead in the recovery report, before all the other user libraries. To be able to use this useful function you will need to generate a list of these libraries (recovery order list) in the order that you wish them to be. Once that list has been made, use this list on the Start Recovery using BRMS (STRRCYBRM) command.
To create your recovery order list, take the following steps:
Work with Lists RCHAS400 Position to . . . . . . Starting characters Type options, press Enter. 1=Add 2=Change 3=Copy 4=Remove 5=Display 6=Print Opt List Name Use Type Text ASN *BKU *LNK *NONE GOODONE *BKU *OBJ LNKTEST *ARC *LNK FLRTEST *BKU *FLR LNKTEST *BKU *LNK OBJTEST *BKU *OBJ FLRLIST *BKU *FLR SPLLIST *BKU *SPL MYARCH *ARC *LNK *NONE QALLSPLF *BKU *SPL All printed output QIBMLINK *BKU *LNK All IBM directories More... F3=Exit F5=Refresh F12=Cancel
Add Object List RCHASYUM Use . . . . . . . . . : *BKU List name . . . . . . . RCYORDER Text . . . . . . . . . Recovery Order List for Recovery Report Type choices, press Enter. Seq Library Object Type Member 10 FIRSTLIB *ALL *ALL *ALL 20 SECONDLIB *ALL *ALL *ALL Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel
To use the created recovery order list with the recovery report, take the following steps:
Start Recovery using BRM (STRRCYBRM) Type choices, press Enter. Additional Parameters Volume locations to include . . *ALL *ALL, *HOME, AASL_COMP, ADS... + for more values Volume locations to omit . . . . *NONE *NONE, *HOME, AASL_COMP, AD... + for more values From system . . . . . . . . . . *LCL Print system information . . . . *NO *NO, *YES Use duplicate media . . . . . . *NO *NO, *YES User recovery information . . . *NONE *NONE, *ADD Recovery order list . . . . . . RCYORDER Name, *NONE Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Selection Criteria Option . . . . . . . . . . . . . : *SYSTEM Start date and time . . . . . . : *BEGIN *AVAIL Ending date and time . . . . . . : *END *AVAIL Use save files . . . . . . . . . : *YES Use TSM . . . . . . . . . . . . : *YES Use duplicate media . . . . . . : *NO User recovery information . . . : *NO Libraries to omit . . . . . . . : *DELETE System name . . . . . . . . . . : RCHASYUM Volume locations to include . . : *ALL Volume locations to omit . . . . : *NONE Recovery order List . . . . . . : RCYORDER
************************************************************************************************* __ STEP 015 : Recover User Libraries Start date/time __________________ Stop date/time __________________ Duration ______________ 5770BR1 V6R1M0 080215 Recovering the Entire System RCHAS400 6/06 You should restore the current version of your user libraries. If you are performing a complete system restore, run the following command to continue. STRRCYBRM OPTION(*RESUME) Otherwise, run the following command. STRRCYBRM OPTION(*ALLUSR) ACTION(*RESTORE) Type the command choice and press "Enter". ----- Attention --------------------------------------------------- Any logical/physical file dependencies are now handled by BRMS. A BRMS defined ID of Q1ARSTID will be used for the Defer ID (DFRID) parameter on RSTLIB and RSTOBJ commands. This parameter allows you to restore all objects in a set of libraries when the libraries with dependent objects are restored before the libraries with the objects they depend on. --------------------------------------------------------------------- ----- Attention --------------------------------------------------- If you use journaling, the libraries containing the journals must be restored before restoring the libraries containing the journaled files. --------------------------------------------------------------------- Select the saved item(s) listed below from the "Select Recovery Items" display and press "Enter" to recover these saved items. Recovery of these saved items will require the volumes listed on the report or duplicate volumes. --- Objects --- Saved Save ----- ASP ------ Save Save Not Sequence Control Volum Item Type Name Number Date Time Saved Saved Number Group Ident ---------- ------- ---------- ----- -------- -------- ------- ------- --------- ---------- ----- __ FIRSTLIB *FULL *SYSBAS 00001 5/17/07 9:02:36 3 0 0 TESTER *SAVF __ SECONDLIB *FULL *SYSBAS 00001 5/22/07 14:23:39 2 0 7 MONSWACG2 SAM42 __ AAAALIB *FULL *SYSBAS 00001 5/23/07 16:46:02 1 0 12 *NONE DEF67 __ BBBBLIB *FULL *SYSBAS 00001 5/23/07 16:47:11 3 0 13 *NONE DEF67 __ CCCCLIB *FULL *SYSBAS 00001 5/23/07 16:49:54 1 0 14 *NONE DEF67 __ DDDDLIB *FULL *SYSBAS 00001 5/23/07 16:51:03 3 0 15 *NONE DEF67