Information
Space announcement: BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.

Scanning the system catalog


File-AID has a powerful utility (3.4 Catalog) for scanning the system catalog and listing data sets that match a pattern you specify.

This utility is dynamically invoked for you whenever you specify a pattern data set name (for example, FASAMP.*) in any data set name prompt within File-AID.

Accessing the catalog utility (option 3.4)

The Catalog utility is located on File-AID’s Extended Utilities menu (option 3) as utility number 4.

First select option 3 to display the Extended Utilities menu.

File-AID Primary Option Menu. Selecting Option 3 for Extended Utilities Menu.

image2021-6-18_10-27-47.png

From the File-AID Primary Option Menu (see the previous figure), select File-AID option 3 to view the File-AID Extended Utilities menu.

Selecting the catalog utility

Next, select option to view the Catalog Utility entry screen.

File-AID Extended Utilities Menu - Choose Option 4 CATALOG

image2021-6-18_10-28-50.png

From the File-AID Extended Utilities menu (see the previous figure), select option 4 to access the Catalog Utility entry screen.

Specifying catalog search options

The Catalog Utility entry screen enables you to generate a list of data sets that start with your user ID prefix by pressing the Enter key just once.

You may choose to specify an explicit search name or other options, including:

  • Format option: select the amount of information you want to see in your list of data sets:

    Q (Quick): Very fast; just looks up catalog entry.

    S (Short): Reads catalog entry to show volume.

    L (Long): Gets information from data set label including space allocated and percent of space used and record format.

    Multi-volume data sets are identified by the + (plus sign) following the Volume field with the Short and Long formats.

    The default value for the Format option is set by the Format option field on the Parameters screen (option 0.4).

  • Clusters only: option to show just cluster name or all components of VSAM clusters (for example, .DATA and .INDEX). The default is to show cluster name only.
  • Display confirm delete: option to suppress the display of the confirm screen for each delete request.

In this example, you list your user ID data sets using the LONG format.

Catalog Utility Entry screen

File-AID --------------------- Catalog Utility -------------------------------
 OPTION ===>


Generic catalog search function:
 Search name            ===>
 Format option          ===> Long  (Q = Quick; S = Short; L= Long)
 Clusters only          ===> Y     (Y = Yes; N = No)


Catalog to search if other than default system catalog:
 Catalog name           ===>
 Catalog password       ===>         (if catalog is password protected)


Display confirm screen: ===> Y        (Y= Yes; N= No)


Steps:

  1. Leave the OPTION field blank.
  2. Leave the Search name field blank.
  3. Set Format option field to L (long).
  4. Press Enter. File-AID generates the list of data sets and displays them on the Catalog Utility Dataset List screen as shown in Catalog Utility Dataset List - Long Format.

More about the catalog utility entry screen

Rules for the Search Name field include:

  • If you leave the field blank, File-AID automatically lists those data sets starting with your user ID. It also lists any data sets that start with your site optional VSAM high-level qualifier plus your VSAM intermediate name as defined in your 0.1 System Parameters default.
  • If you specify a name, you must enter the full, high-level qualifier name without quotes (for example, SYS1).
  • Valid pattern characters include:

    Character

    Description

    ? (Question mark)

    Single character wildcard (for example, SYS1.DB?LIB)

    * (Asterisk)

    Multiple character wildcard (for example, SYS1.DB* and SYS1.FA.*.NODEFOUR)

    + (Plus)

    Multiple node wildcard (for example, SYS1.+.NODEFOUR).

  • The Search Name is reset to blanks when you exit the Catalog utility.

Working with your data set list (primary and line commands)

File-AID scans the system catalog and generates a list of data sets matching your search name. In this case, you used the default search name and are viewing a list of your user ID prefix data sets.

You can scroll the list down or up, use the FIND command, print the list, or use line commands to select one or more data sets for processing.

In this example, you look at the File-AID tutorial screen available on any screen by issuing the HELP command or pressing the PF key assigned to the HELP command (PF1). Later, you use the I (Info) line command to view information about a VSAM cluster.

Catalog Utility Dataset List - Long Format

File-AID -------------  Catalog Utility Dataset List     119 DATASETS SELECTED
 COMMAND ===>                                                  SCROLL ===> CSR
  Use Primary Command ? for a list of Primary and Line Commands                 
 Action   ----  D A T A S E T   N A M E  ----+ Org Volume Fmt  Trks  %Us  Xt ENC
          USERID9.FASAMP.$$AA.AAAA.AA.ALEE.ORD PS  TSO001 VB      1  100   1 Y
          USERID9.FASAMP.$AAA.AAAA.AITST01     IA  TSO001 V       1    0   1 N
          USERID9.FASAMP.$AAA.AAYS.ENC         VSE TSO001 V      15    0   1 Y
          USERID9.FASAMP.$IAM.AITST011         IA  TSO001 V       1    0   1 N
          USERID9.FASAMP.$IAM.AITST1           IA  TSO001 V      15    0   1 N
          USERID9.FASAMP.$IAM.AITST2               MIGRAT                      
          USERID9.FASAMP.$IAM.AITST3               MIGRAT                      
          USERID9.FASAMP.$IAM.AITST4               MIGRAT                      
          USERID9.FASAMP.$IAM.AITST5               MIGRAT                      
          USERID9.FASAMP.$IAM.AITST6               MIGRAT                      
          USERID9.FASAMP.$IAM.JSTST3               MIGRAT                      
          USERID9.FASAMP.$IAM.KSTST7           IA  TSO001 V      15    0   1 N
          USERID9.FASAMP.AAAA.AAAA.MV.ALEE.TES VS  TSO001+V      15    0   1 N
          USERID9.FASAMP.AAAA.AANO.TESTENC     VS  TSO001 V       1    0   1 N
          USERID9.FASAMP.AAAA.AKTST71          VS  TSO001 F       1    0   1 N
          USERID9.FASAMP.AAAA.AKTST72          VS  TSO001 F       1    0   1 N
          USERID9.FASAMP.AAAA.AKTST73          VS  TSO001 F       1    0   1 N
          USERID9.FASAMP.AAAA.AKTST74          VS  TSO001 F       1    0   1 N
          USERID9.FASAMP.AAAA.AKTST8           VS  TSO001 F       1    0   1 N 

Press PF1 (HELP) two times.

File-AID contains comprehensive tutorials about each screen and command. Pressing PF1 (HELP) displays the tutorial describing your current screen.

If a short message is displayed in the upper right corner (for example, 22 DATASETS SELECTED), the first time you press PF1, File-AID displays the long message associated with the short message. The long message appears on screen line three or sometimes in a message window near the lower portion of your screen. The second time you press PF1, File-AID invokes the related tutorial screen that describes the current function or message.

From the tutorial, you can either select a specific topic when choices are provided or just press Enter from each tutorial screen to sequentially view the information.

Reviewing the tutorial - summary of primary and line commands

This tutorial on data set selection lists summarizes the valid primary and line commands for the Catalog utility and the VTOC utility.

Use the END command (PF3) to return to the File-AID screen you were on when you requested help.

Catalog Utility. The Dataset List Processing Commands Tutorial Screen.

 XFAG42 D -------------- CATALOG - DATASET SELECTION LISTS ------------ TUTORIAL
 OPTION  ===>                                                                   
                   +-------------------------------------+                      
                   |  DATASET SELECTION LIST PROCESSING  |                      
                   +-------------------------------------+                      
 DATASET SELECTION LISTS allow specific primary commands and line commands.     
 NOTE: Dataset Name is scrollable (Place your cursor on a DSN and scroll        
       right/left).                                                             
 Primary Commands                                                               
 The following topics are presented in sequence or may be selected by number:   
     1 - SCROLLING through dataset selection lists                              
     2 - F (FIND).....scroll to dataset name containing search text             
     3 - L (LOCATE)...scroll to dataset starting with search text               
     4 - P (PRINT)....print the list                                            
     5 - SEARCH.......search for a string in all datasets                       
         RES (RESET)..display all datasets from original dataset list           
                                                                               
 The following wil be presented only if specifically selected:                  
     6 - Line Commands    

Steps:

  1. Review the primary and line commands shown in the above figure.
  2. Type in the OPTION field and enter to display the following figure.
  3. Notice that line command BROWSE or its Alias, invokes File-AID Browse.
  4. Use the END command (press PF3) to return to the list of your data sets.

Catalog Utility. The Dataset List Processing Commands Tutorial Screen 2.

 XFAG421  ------------- CATALOG - DATASET SELECTION LISTS ------------- TUTORIAL
 COMMAND ===>                                                                   
                                                                               
  Line Commands                                                                 
                                                                               
1   Browse   (1)        File-AID Browse                                         
2   Edit     (2)        File-AID Edit                                           
3   MEMLIST  (ML,31)    File-AID Library Utility                                
4   DSUTIL   (32)       File-AID Dataset Utility                                
5   COPY     (33)       File-AID Copy Utility  (with input DSN)                 
6   COPYF               File-AID Copy Utility "From" DSN                        
    COPYT               File-AID Copy Utility "To" DSN                          
                         Note: COPYF and COPYT are only valid together          
7   VSAM     (35)       File-AID VSAM Utility                                   
8   ALOCLIKE (AL)       File-AID (3.2/3.5) Allocate new dataset                 
9   SEARCH   (36,SRCH)  File-AID Search Update Utility                          
10  D                   File-AID (3.2/3.5) Delete dataset                       
11  DR                  File-AID (3.5) Delete/Redefine VSAM                     
12  F                   File-AID (3.2) Free space                               
13  M                   File-AID (3.5) VSAM Alter                               
14  R                   File-AID (3.2/3.5) Rename dataset                       
15  U                   File-AID (3.2) Uncatalog dataset                        
                        <Continued> 

More about the tutorial

  • In the tutorial, you can ask for help (PF1) to learn how the tutorial works.
  • You can use the TOC primary command to view the table of contents for the tutorial.
  • You can use the I primary command to access the alphabetical index for File-AID’s tutorial.

Selecting a data set for processing

In order to perform an action on any data set in the Dataset List, specify a valid line command to the left of the dataset name.

In this example you request information (I line command) on a VSAM cluster.

Catalog Utility Dataset List - I (Info) Request

File-AID -------------  Catalog Utility Dataset List  --- Row 89 to 108 of 120
 COMMAND ===>                                                  SCROLL ===> CSR  
  Use Primary Command ? for a list of Primary and Line Commands                 
 Action   ----  D A T A S E T   N A M E  ---- + Org Volume  Fmt  Trks  %Us  Xt  
          USERID9.FASAMP.COBSRC.NEW             PO  TSO001  FB      1  100   1  
          USERID9.FASAMP.COBSRC.OLD             PO  TSO001  FB      1  100   1  
 i        USERID9.FASAMP.COMPARE                VS  TSO001  F       1  100   1  
          USERID9.FASAMP.EMPLOYE                VS  TSO001  V      15    0   1  
          USERID9.FASAMP.EMPLOYEE               VS  TSO001  F       1  100   1  
          USERID9.FASAMP.EMPLOYEE.NEW           VS  TSO001  F       1  100   1  
          USERID9.FASAMP.EMPLOYE2               PS  TSO001  FB      1  100   1  
          USERID9.FASAMP.EMPMAST                PS  TSO001  FB      1  100   1  
          USERID9.FASAMP.INVFILE                PS  TSO001  VB      1  100   1  
          USERID9.FASAMP.INVFILE2               PS  TSO001  VB      1  100   1  
          USERID9.FASAMP.JCL                    PO  TSO001  FB      2  100   1  
          USERID9.FASAMP.JCL.NEW                PO  TSO001  FB      1  100   1  
          USERID9.FASAMP.JCL.OLD                PO  TSO001  FB      1  100   1  
          USERID9.FASAMP.LAYOUTS                PO  TSO001  FB      4  100   1  
          USERID9.FASAMP.LINEAR.CI4K            VS  TSO001  F       5  100   1  
          USERID9.FASAMP.LINEAR.CI8K            VS  TSO001  F      15   60   1  
          USERID9.FASAMP.LOADLIB1               PO  TSO001  U      53  100   1  
          USERID9.FASAMP.LOADLIB2               PO  TSO001  U      75   76   1  
          USERID9.FASAMP.ORDRFILE               PS  TSO001  VB      1  100   1   

Steps:

  1. If necessary, use the command FIND FASAMP.COMPARE, to scroll the list of data sets so that your userid.FASAMP.COMPARE data set is visible in the list of data sets.
  2. Write down the VOLUME number of the hlq.FASAMP.COMPARE data set in the space below this sentence. You use this volume in a later example.

    VOLUME = ________ <-- Write VOLSER here

  3. Place an I to the left of the hlq.FASAMP.COMPARE data set.
  4. Press Enter. File-AID displays information about FASAMP.COMPARE on the VSAM Information screen shown in the following figure.

Ending data set processing

After performing the function you requested, use the END command to return to the Catalog Utility Dataset List screen.

If you selected more than one data set to process, File-AID immediately processes the next command request and displays the appropriate screen (File-AID does not display the Catalog Utility Dataset List screen first). After processing your last data set request, File-AID redisplays the Catalog Utility Dataset List screen scrolled to the last processed data set.

This example illustrates the processing of a single data set. In this step, you exit from the Catalog utility and return to the Extended Utilities menu.

Warning

Important

The following figure is scrollable on the smaller screen display.

Catalog Utility - Sample VSAM Information Display

-----------------------  File-AID VSAM INFORMATION  --------------------------
 COMMAND ===>                                                 SCROLL ===> PAGE  
                                                                               
 CATALOG  CATALOG.MVSICFU.V01KTOR                                               
 CLUSTER 'USERID9.FASAMP.COMPARE'                                               
 DATA    'USERID9.FASAMP.COMPARE.DATA'                   DATA VOLUME  TSO001    
 INDEX   'USERID9.FASAMP.COMPARE.INDEX'                  INDEX VOLUME TSO001    
                                                                               
  DATA COMPONENT INFORMATION:                    CURRENT ALLOCATION OPTIONS:    
    DEVICE TYPE:                      3390         LOAD OPTION:     RECOVERY    
    ORGANIZATION:                     KSDS                                      
    AVERAGE RECORD SIZE:               198         BUFFER SPACE:        6144    
    MAXIMUM RECORD SIZE:               198         ERASE ON DELETE:       NO    
    KEY LENGTH:                          5         EXCEPTION EXIT:              
    KEY LOCATIONS:                       0         REUSE OPTION:         YES    
                                                   WRITE CHECK:           NO    
                                                   SHARE OPTIONS:        3-3    
                                                   SPANNED RECORDS:       NO    
                                                   KEY RANGES:            NO    
                                                                               
  DATASETS RELATED TO ENTRY  'USERID9.FASAMP.COMPARE'                           
    TYPE        DATASET NAME                                                    
    CLUSTER   - USERID9.FASAMP.COMPARE   

Use the END command (press PF3THREE TIMES to return to the Extended Utilities menu.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Compuware File-AID/MVS 21.01