List Catalog Entries: Example 4

This example illustrates how all catalog entries with the same generic name are listed.
//LISTCAT3   JOB   ...
//STEP1      EXEC  PGM=IDCAMS
//SYSPRINT   DD    SYSOUT=A
//SYSIN      DD    *
     LISTCAT -
            ENTRIES(GENERIC.*.BAKER) -
            ALL
/*
The LISTCAT command lists each catalog entry with the generic name GENERIC.*.BAKER, where * is any 1-to-8 character simple name. The parameters are:
  • ENTRIES specifies the entryname of the object to be listed. Because GENERIC.*.BAKER is a generic name, more than one entry can be listed.
  • ALL specifies that all fields of each entry are to be listed.