z/OS DFSMShsm Managing Your Own Data
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using ISMF

z/OS DFSMShsm Managing Your Own Data
SC23-6870-00

The following steps present an example of how to use the HRECOVER line operator to recover a cataloged data set. In our ISMF panel example, we have used USER20.SAMPLE.DATASET as a sample data set name.

  1. Generate a list of data sets as described in Methods of performing tasks.
  2. Enter the HRECOVER line operator in the line operator column next to USER20.SAMPLE.DATASET as described in Figure 1.
    Figure 1. Data Set List Panel with HRECOVER Selected
       Panel  List  Dataset  Utilities  Scroll  Help
     ------------------------------------------------------------------------------
                                      DATA SET LIST
                                                             Entries 1-1 of 1
     Enter Line Operators below:                             Data Columns 3-6 of 39
     
          LINE                                    ALLOC    ALLOC   % NOT  COMPRESSED
          OPERATOR          DATA SET NAME         SPACE    USED    USED   FORMAT
         ---(1)----  ------------(2)------------ --(3)--  --(4)--  -(5)-  ---(6)----
                     USER20.CLIST.CLIST               46       46      0  ???
                     USER20.DFP220.DGTTLIB            46       46      0  ???
                     USER20.ISMF.DGTLLIB              46       46      0  ???
                     USER20.ISMF.DGTPLIB              46       46      0  ???
                     USER20.ISMF.DUMP               4684     4356      7  ???
                     USER20.ISPFILE                   46       46      0  ???
                     USER20.ISPPROF                   93       93      0  ???
         HRECOVER    USER20.SAMPLE.DATASET           468       46     90  ???
                     USER20.SPFLOG1.LIST            2623     1311     50  ???
                     USER20.TEMP.DATASET            4684       93     98  ???
         ----------  ------  -----------  BOTTOM OF  DATA  -----------  ------  ----
     
     Command ===>                                                  Scroll ===> HALF
      F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap
     F10=Left   F11=Right  F12=Cursor

    The HRECOVER entry panel appears.

  3. Complete the HRECOVER entry panel as described in Figure 2 through Figure 7. Up to six panels can be displayed. In each panel, the backup version, date and time of the backup are displayed as two lists with headers.
    Note: Retained backup versions are not displayed on these panels. Use the DFSMShsm HLIST DSNAME (dsname) BCDS command to obtain a complete list of the active and retained backup copies of this data set. To recover a retained backup copy, specify the creation date and time of the copy to recover on page 6 of the ISMF HRECOVER panel, or issue the HRECOVER command with the DATE and TIME keywords.
    Figure 2. HRECOVER Entry Panel (Part 1 of 6)
       Panel  Utilities  Scroll  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 1 of 6 
    Command ===>                                                                  
                                                                                  
    Specify Y to recover a Backup Version for                                     
     Data Set:                                                                    
                                  Recover                                  Recover
    Version  Date    TIME   Gen#   (Y/N)  |  Version  Date    TIME   Gen#   (Y/N) 
    --------------------------------------|---------------------------------------
    100     2008100  162511  00      N    |  099     2008099  163501  01      N 
    098     2008098  162926  02      N    |  097     2008097  162551  03      N  
    096     2008096  162704  04      N    |  095     2008095  162905  05      N 
    094     2008094  162851  06      N    |  093     2008093  163301  07      N
    092     2008092  162956  08      N    |  091     2008091  162918  09      N
    090     2008090  162604  10      N    |  089     2008089  162945  11      N
    088     2008088  162936  12      N    |  087     2008087  162651  13      N
    086     2008086  162724  14      N    |  085     2008085  162705  15      N
    084     2008084  162801  16      N    |  083     2008083  163103  17      N
    082     2008082  162916  18      N    |  081     2008081  162938  19      N
                                                                                  
                                                                                  
    Use ENTER to Continue; Use DOWN to select other versions;                     
    Use HELP Command for Help; Use END Command to Cancel the HRecover.           
    Figure 3. HRECOVER Entry Panel (Part 2 of 6)
     
       Panel  Utilities  Scroll  Help
     ------------------------------------------------------------------------------
       Panel  Utilities  Scroll  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 2 of 6 
    Command ===>                                                                  
                                                                                  
    Specify Y to recover a Backup Version for                                     
     Data Set:                                                                    
                                  Recover                                  Recover
    Version  Date    TIME   Gen#   (Y/N)  |  Version  Date    TIME   Gen#   (Y/N) 
    --------------------------------------|---------------------------------------
    080     2008080  162634  20      N    |  079     2008079  162935  21      N
    078     2008078  162936  22      N    |  077     2008077  162531  23      N
    076     2008076  162744  24      N    |  075     2008075  162805  25      N
    074     2008074  162951  26      N    |  073     2008073  163101  27      N
    072     2008072  162556  28      N    |  071     2008071  162718  29      N
    070     2008070  162624  30      N    |  069     2008069  162925  31      N
    068     2008068  162836  32      N    |  067     2008067  162611  33      N
    066     2008066  162734  34      N    |  065     2008065  162805  35      N
    064     2008064  162841  36      N    |  063     2008063  163133  37      N
    062     2008062  162916  38      N    |  061     2008061  162918  39      N
                                                                                  
                                                                                  
    Use ENTER to Continue; Use UP/DOWN to select other versions;                     
    Use HELP Command for Help; Use END Command to Cancel the HRecover.  
    Figure 4. HRECOVER Entry Panel (Part 3 of 6)
       Panel  Utilities  Scroll  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 3 of 6 
    Command ===>                                                                  
                                                                                  
    Specify Y to recover a Backup Version for                                     
     Data Set:                                                                    
                                  Recover                                  Recover
    Version  Date    TIME   Gen#   (Y/N)  |  Version  Date    TIME   Gen#   (Y/N) 
    --------------------------------------|---------------------------------------
    060     2008060  162534  40      N    |  059     2008059  163421  41      N
    058     2008058  162936  42      N    |  057     2008057  162631  43      N
    056     2008056  162738  44      N    |  055     2008055  162815  45      N
    054     2008054  162827  46      N    |  053     2008053  163331  47      N
    052     2008052  162929  48      N    |  051     2008051  162948  49      N
    050     2008050  162631  50      N    |  049     2008049  162825  51      N
    048     2008048  162736  52      N    |  047     2008047  162751  53      N
    046     2008046  162924  54      N    |  045     2008045  162545  55      N
    044     2008044  163001  56      N    |  043     2008043  163213  57      N
    042     2008042  162956  58      N    |  041     2008041  162848  59      N
                                                                                  
                                                                                  
    Use ENTER to Continue; Use UP/DOWN to select other versions;                     
    Use HELP Command for Help; Use END Command to Cancel the HRecover.     
    Figure 5. HRECOVER Entry Panel (Part 4 of 6)
    Panel  Utilities  Scroll  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 4 of 6 
    Command ===>                                                                  
                                                                                  
    Specify Y to recover a Backup Version for                                     
     Data Set:                                                                    
                                  Recover                                  Recover
    Version  Date    TIME   Gen#   (Y/N)  |  Version  Date    TIME   Gen#   (Y/N) 
    --------------------------------------|---------------------------------------
    040     2008040  162924  60      N    |  039     2008039  162835  61      N
    038     2008038  162636  62      N    |  037     2008037  162921  63      N
    036     2008036  162724  64      N    |  035     2008035  162635  65      N
    034     2008034  162911  66      N    |  033     2008033  163201  67      N
    032     2008032  162756  68      N    |  031     2008031  162748  69      N
    030     2008030  162724  70      N    |  029     2008029  162825  71      N
    028     2008028  162936  72      N    |  027     2008027  162711  73      N
    026     2008026  162734  74      N    |  025     2008025  162705  75      N
    024     2008024  162821  76      N    |  023     2008023  163233  77      N
    022     2008022  162936  78      N    |  021     2008021  162958  79      N
                                                                                  
                                                                                  
    Use ENTER to Continue; Use UP/DOWN to select other versions;                     
    Use HELP Command for Help; Use END Command to Cancel the HRecover. 
    Figure 6. HRECOVER Entry Panel (Part 5 of 6)
     
      Panel  Utilities  Scroll  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 5 of 6 
    Command ===>                                                                  
                                                                                  
    Specify Y to recover a Backup Version for                                     
     Data Set:                                                                    
                                  Recover                                  Recover
    Version  Date    TIME   Gen#   (Y/N)  |  Version  Date    TIME   Gen#   (Y/N) 
    --------------------------------------|---------------------------------------
    020     2008020  162544  80      N    |  019     2008019  163411  81      N
    018     2008018  162726  82      N    |  017     2008017  162831  83      N
    016     2008016  162908  84      N    |  015     2008015  162515  85      N
    014     2008014  162623  86      N    |  013     2008013  163131  87      N
    012     2008012  162826  88      N    |  011     2008011  162908  89      N
    010     2008010  163039  90      N    |  009     2008009  162625  91      N
    008     2008008  162706  92      N    |  007     2008007  162721  93      N
    006     2008006  162524  94      N    |  005     2008005  162845  95      N
    004     2008004  163201  96      N    |  003     2008003  163113  97      N
    002     2008002  162856  98      N    |  001     2008001  162808  99      N
                                                                                  
                                                                                  
    Use ENTER to Continue; Use UP to select other versions;                     
    Use HELP Command for Help; Use END Command to Cancel the HRecover.      
    Figure 7. HRECOVER Entry Panel (Part 6 of 6)
       Panel  Utilities  Help                                                      
    ------------------------------------------------------------------------------
                                HRECOVER ENTRY PANEL                  Page 6 of 6 
    Command ===>                                                                  
                                                                                  
    Optionally specify one or more for                                            
     Data Set:                                                             
     For the Backup Data Set, Specify:                                     
       Backup Generation Number   . __          (0 to 99)                  
       Backup Date  . . . . . . . . __________  (yyyy/mm/dd)               
       Backup Time  . . . . . . . . ______      (hhmmss)                   
       Data Set Password  . . . . .             (if password protected)    
       Note: Dataset Password ignored when in ADMIN mode.                  
     To Recover to a specific volume, Specify:                                    
       Volume Serial Number . . . . ______      (target volume)                   
       Device Type  . . . . . . . . ______      (target device type)              
     To rename recovered Data Set, Specify:                                       
       New Data Set Name  . . . . . ______________________________________________           
       Password of New Data Set . .             (if password protected)           
     Replace existing Data Set  . . _           (Y or N)                          
     DA Access Option . . . . . . . _           (1-SAMETRK, 2-RELTRK or 3-RELBLK) 
     Wait for completion  . . . . . N           (Y or N)                          
    Use ENTER to perform HRecover;                                                
    Use HELP Command for Help; Use END Command to Exit.      
  4. Press ENTER to perform the recover and redisplay the list (see Figure 8).

The asterisk next to the HRECOVER in the line operator column indicates that the recovery was successful.

Figure 8. Data Set List Panel After Function Completes
    Panel  List  Dataset  Utilities  Scroll  Help
  ------------------------------------------------------------------------------
                                   DATA SET LIST
                                                          Entries 1-1 of 1
  Enter Line Operators below:                             Data Columns 3-6 of 39
 
       LINE                                    ALLOC    ALLOC   % NOT  COMPRESSED
       OPERATOR          DATA SET NAME         SPACE    USED    USED   FORMAT
      ---(1)----  ------------(2)------------ --(3)--  --(4)--  -(5)-  ---(6)---
                 USER20.CLIST.CLIST               46       46      0  ???
                 USER20.DFP220.DGTTLIB            46       46      0  ???
                 USER20.ISMF.DGTLLIB              46       46      0  ???
                 USER20.ISMF.DGTPLIB              46       46      0  ???
                 USER20.ISMF.DUMP               4684     4356      7  ???
                 USER20.ISPFILE                   46       46      0  ???
                 USER20.ISPPROF                   93       93      0  ???
      *HRECOVER  USER20.SAMPLE.DATASET           468       46     90  ???
                 USER20.SPFLOG1.LIST            2623     1311     50  ???
                 USER20.TEMP.DATASET            4684       93     98  ???
      ----------  ------  -----------  BOTTOM OF  DATA  -----------  ------  ---
 
  Command ===>                                                  Scroll ===> HALF
   F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap
  F10=Left   F11=Right  F12=Cursor

For more information on using DFSMShsm/ISMF line operators, see z/OS DFSMS Using the Interactive Storage Management Facility or use the online help provided with ISMF.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014