DFSMSdfp: Accommodate changes in LISTCAT LEVEL output

Description: To be similar to ISPF, DFSMSdfp has enhanced the LISTCAT LEVEL output for the qualifier level specification as of z/OS V2R1. Prior to z/OS V2R1, the LISTCAT LEVEL command output would only include entries that had additional qualifiers after those specified. Additional qualifiers would include GDG data sets that were defined. Empty GDG base entries would not be included.

As of z/OS V2R1 (and matching ISPF), the command output provides the matches for:
Steps to take: Although LISTCAT output is not a programming interface, review if this change will affect your system. An example of the output differences is shown below. On pre-z/OS V2R1 systems:
LISTCAT LEVEL(A.B.C)      
IDC3012I ENTRY A.B.C NOT FOUND 
IDC3007I ** VSAM CATALOG RETURN-CODE IS 8       
IDC1566I ** A.B.C NOT LISTED   
...
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 4
As of z/OS V2R1, the same command may produce:
LISTCAT LEVEL(A.B.C)
NONVSAM ------- A.B.C  
     IN-CAT --- CATALOG.UCATA             
...
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0 
Notice that not only the information returned is different, but the return code and condition codes may be different as of z/OS V2R1. Take steps to convert any programs that rely upon LISTCAT output to use the Catalog Search Interface (CSI) instead. CSI is a supported general-use programming interface for the catalog, and will remove any dependency you have on future possible changes that may occur to LISTCAT output. Until such time as you can use the CSI interface, the following suggestions may be of help:
Reference information: