Saving ISMF data set lists

After an ISMF data set list is created and the results are presented on the ISMF DATA SET LIST panel you can issue any line operators and list commands for these data sets.

You can also save the contents of the data set list and view the contents of this data set list at any time. You can issue any line operators or list commands for the data sets in the saved ISMF data set list.

To save the contents of an ISMF data set list, type the save listname list command on the command line field. When you issue this command, the current data set list is saved as the specified listname in the allocated output table library.

Figure 1. ISMF DATA SET LIST panel with SAVE list command
 Panel  List  Dataset  Utilities  Scroll  Help                                 
------------------------------------------------------------------------------   
                                 DATA SET LIST                                  
Command ===> SAVE LIST3                                       Scroll ===> HALF
                                                        Entries 1-6 of 6        
Enter Line Operators below:                             Data Columns 3-4 of 39  
                                                                                
     LINE                                                     ALLOC   ALLOC     
     OPERATOR                  DATA SET NAME                  SPACE   USED      
    ---(1)----  --------------------(2)--------------------- --(3)-- --(4)--    
                EXMPHLQ.CLUSTER1                             ------- -------    
                EXMPHLQ.CLUSTER2                             ------- -------    
                EXMPHLQ.CLUSTER3                             ------- -------    
                EXMPHLQ.CLUSTER4                             ------- -------    
                EXMPHLQ.CLUSTER5                             ------- -------    
                EXMPHLQ.CLUSTER6                             ------- -------    
    ----------  ------  -----------  BOTTOM  OF  DATA  ----- -------  ---- ---- 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap      
F10=Left   F11=Right  F12=Cursor                                                

You can view the contents of the saved list at any time. Select option L, List, from the ISMF PRIMARY OPTION MENU.

Figure 2. ISMF PRIMARY OPTION MENU with List option selected
Panel  Help                                                                 
------------------------------------------------------------------------------
                 ISMF PRIMARY OPTION MENU - z/OS DFSMS V1 R3                  
Enter Selection or Command ===> L_____________________________________________
                                                                              
Select one of the following options and press Enter:                          
                                                                              
0  ISMF Profile              - Specify ISMF User Profile                      
1  Data Set                  - Perform Functions Against Data Sets            
2  Volume                    - Perform Functions Against Volumes              
3  Management Class          - Specify Data Set Backup and Migration Criteria 
4  Data Class                - Specify Data Set Allocation Parameters         
5  Storage Class             - Specify Data Set Performance and Availability  
6  Storage Group             - Specify Volume Names and Free Space Thresholds 
7  Automatic Class Selection - Specify ACS Routines and Test Criteria         
8  Control Data Set          - Specify System Names and Default Criteria      
9  Aggregate Group           - Specify Data Set Recovery Parameters           
10 Library Management        - Specify Library and Drive Configurations       
11 Enhanced ACS Management   - Perform Enhanced Test/Configuration Management 
C  Data Collection           - Process Data Collection Function               
L  List                      - Perform Functions Against Saved ISMF Lists     
R  Removable Media Manager   - Perform Functions Against Removable Media      
 F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap    
F10=Left   F11=Right  F12=Cursor                                              

After you select the List option from the ISMF PRIMARY OPTION MENU, the saved ISMF lists are displayed on the SAVED ISMF LISTS panel.

Figure 3. SAVED ISMF LISTS panel
Panel  List  Utilities  Scroll  Help                                           
------------------------------------------------------------------------------ 
                               SAVED ISMF LISTS                                
Command ===>                                                  Scroll ===> HALF 
                                                         Entries 1-4 of 4      
Enter Line Operators below:                              Data Columns 3-7 of 8 
                                                                               
     LINE       LIST       LIST    LAST DATE   LAST TIME  LAST MOD  LIST ROW   
     OPERATOR   NAME       TYPE    MODIFIED    MODIFIED   USERID    COUNT      
    ---(1)----  --(2)--- --(3)---  ---(4)----  ---(5)---  --(6)---  --(7)---   
                LIST1    DATASET   2008/06/03  12:30      USER1           35   
                LIST2    DATASET   2008/05/21  08:56      USER1           35   
                LIST3    DATASET   2008/06/18  13:07      USER1            6   
                LIST4    DATASET   2008/06/18  13:22      USER1          182   
    ----------  -------- --------  BOTTOM  OF  DATA  ----------  --------  ----
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap     
F10=Left   F11=Right  F12=Cursor                                               

To view the contents of a saved ISMF data set list and issue line operators and list commands for the data sets in the list, enter the List line operator against the required data set list.

Figure 4. SAVED ISMF LISTS panel with List line operator
Panel  List  Utilities  Scroll  Help                                           
------------------------------------------------------------------------------ 
                               SAVED ISMF LISTS                                
Command ===>                                                  Scroll ===> HALF 
                                                         Entries 1-4 of 4      
Enter Line Operators below:                              Data Columns 3-7 of 8 
                                                                               
     LINE       LIST       LIST    LAST DATE   LAST TIME  LAST MOD  LIST ROW   
     OPERATOR   NAME       TYPE    MODIFIED    MODIFIED   USERID    COUNT      
    ---(1)----  --(2)--- --(3)---  ---(4)----  ---(5)---  --(6)---  --(7)---   
                LIST1    DATASET   2008/06/03  12:30      USER1           35   
                LIST2    DATASET   2008/05/21  08:56      USER1           35   
    LIST        LIST3    DATASET   2008/06/18  13:07      USER1            6   
                LIST4    DATASET   2008/06/18  13:22      USER1          182   
    ----------  -------- --------  BOTTOM  OF  DATA  ----------  --------  ----
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap     
F10=Left   F11=Right  F12=Cursor                                               

After you issue the List line operator for a saved ISMF data set list, the contents of that list are displayed on the ISMF DATA SET LIST panel.

Figure 5. ISMF DATA SET LIST panel
  Panel  List  Dataset  Utilities  Scroll  Help                                 
------------------------------------------------------------------------------   
                                 DATA SET LIST                                  
Command ===>                                                  Scroll ===> HALF
                                                        Entries 1-6 of 6        
Enter Line Operators below:                             Data Columns 3-4 of 39  
                                                                                
     LINE                                                     ALLOC   ALLOC     
     OPERATOR                  DATA SET NAME                  SPACE   USED      
    ---(1)----  --------------------(2)--------------------- --(3)-- --(4)--    
                EXMPHLQ.CLUSTER1                             ------- -------    
                EXMPHLQ.CLUSTER2                             ------- -------    
                EXMPHLQ.CLUSTER3                             ------- -------    
                EXMPHLQ.CLUSTER4                             ------- -------    
                EXMPHLQ.CLUSTER5                             ------- -------    
                EXMPHLQ.CLUSTER6                             ------- -------    
    ----------  ------  -----------  BOTTOM  OF  DATA  ----- -------  ---- ---- 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
F1=Help    F2=Split   F3=End     F4=Return  F7=Up      F8=Down    F9=Swap      
F10=Left   F11=Right  F12=Cursor                                                

You can issue line operators and list commands, including the VSAMREC line operator and list command, for the data sets in the selected ISMF data set list. You can issue VSAMREC for both dynamically created ISMF data set lists and saved ISMF data set lists.

Use saved ISMF data set lists in conjunction with CICS® VR as part of your plans for the recovery process. Then, if data is lost, the recovery process is much faster and easier. The following steps show an example of how you can use ISMF data set lists to prepare for a simple recovery:
  1. Create an ISMF data set list that contains all VSAM spheres that reside on a particular volume using the information from the catalog.
  2. Save this data set list with the SAVE listname list command.
  3. If the entire volume is lost, display the contents of the previously saved ISMF data set list using the ISMF 'List' line operator. Then, enter the VSAMREC list command to restore and recover every VSAM sphere that initially was located on the lost volume.

VSAMREC is described in more detail in Understanding VSAMREC.