Saving the query

How to save an ISMF data set query using the ISMF DATA SET SELECTION ENTRY PANEL.

You can save the selection criteria you enter on the ISMF DATA SET SELECTION ENTRY PANEL as an ISMF data set query. Type the QSAVE command on the command line and enter a one to eight character name in the Query Name to Save or Retrieve field. This command saves the contents of every selection criteria input field on the ISMF DATA SET SELECTION ENTRY PANEL as the specified query name.

The query is saved in member ISMFQDSN of the partitioned data set allocated to the ISPTABL ddname. If this is the first query saved and member ISMFQDSN does not exist, execution of the QSAVE command creates this member.

Figure 1. ISMF DATA SET SELECTION ENTRY PANEL with QSAVE command
 Panel  Defaults  Utilities  Scroll  Help                                       
-------------------------------------------------------------------------------  
                         DATA SET SELECTION ENTRY PANEL              Page 1 of 5  
 Command ===> QSAVE__ __________________________________________________________________                                                                                                 
 For a Data Set List, Select Source of Generated List  . . 2  (1 or 2)            
                                                                                  
   1  Generate from a Saved List         Query Name To                            
        List Name  . .                   Save or Retrieve LIST3___                     
                                                                                  
   2  Generate a new list from criteria below                                     
        Data Set Name . . . 'EXMPHLQ.**'                                          
        Enter "/" to select option   _  Generate Exclusive list                   
                                                                                  
        Specify Source of the new list  . . 2    (1 - VTOC, 2 - Catalog)          
        1 Generate list from VTOC                                                 
           Volume Serial Number . . .            (fully or partially specified)   
        2 Generate list from Catalog                                              
           Catalog Name . . .                                                     
             Catalog Password . . . .            (if password protected)          
           Volume Serial Number . . . TSTVOL     (fully or partially specified)   
           Acquire Data from Volume . . . . . . . N  (Y or N)                     
           Acquire Data if DFSMShsm Migrated  . . N  (Y or N)                     
 Use ENTER to Perform Selection; Use DOWN Command to View next Selection Panel;   
 Use HELP Command for Help; Use END Command to Exit.                              
                                                                                  
       .                                                                          
       .                                                                          
       .                                                                          
                                                                                  
 To further limit the Generated List, Specify a single value or list of values    
 in any of the following:                                                         
                                Rel Op   Value     Value     Value     Value      
                                ------  --------  --------  --------  --------    
     Entry Type . . . . . . . . EQ      CLUSTER                                   

Recommendation: Save the ISMF query and the ISMF data set list with the same name. Using this naming convention allows you to easily match a saved query to a saved ISMF data set list.