Is there any easy way to find a library which is specified in the APF definition but doesn't exist?

Document ID : KB000048041
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

We want to remove a library that is specified in the APF but doesn't exist for cleanup.

Is there any easy way to find such libraries?

Solution:

Issue APF command to list APF'ed libraries, then issue VERIFY command.

The libraries that are displayed as "NOT_FOUND" on STATUS field don't exist,so they can removed from the APF definition.


SYSVIEW 13.0 XE20 ------------ APFLIST, APF LIST ---------- 2014/09/26 15:50:17
COMMAND ====>                                                 SCROLL *===> CSR 
--------------------------------------------- LVL 2 ROW 281-315/384 COL 1-79/82
STATUS    SRT NOLIM NOSEL NODST NOPFX NOOWN NOUPD NOPRT NOCAP                  
-------------------------------------------------------------------------------
CMD DATASET-NAME                                 VOLSER STATUS                 
___ CICSSYS.CTS210.CICS.SDFHLOAD                 CICST2 FOUND                  
___ CICSSYS.CTS210.CICS.SDFHLPA                  CICST2 FOUND                  
___ CICSSYS.CTS220.CICS.SDFHAUTH                 CICST2 FOUND                  
___ CICSSYS.CTS220.CICS.SDFHLINK                 CICST2 FOUND                  
___ CICSSYS.CTS220.CICS.SDFHLOAD                 CICST2 FOUND                  
___ CICSSYS.CTS220.CICS.SDFHLPA                  CICST2 FOUND                  
___ CICSSYS.CTS310.GA.CICS.RSU1403.SDFHAUTH      CICS10 FOUND                  
___ CICSSYS.CTS310.GA.CICS.RSU1403.SDFHLINK      CICS10 FOUND                  
___ CICSSYS.CTS310.GA.CICS.RSU1403.SDFHLOAD      CICS10 FOUND                  
___ CICSSYS.CTS320.GA.CICS.RSU1306.SDFHAUTH      CICS09 NOT_FOUND              
___ CICSSYS.CTS320.GA.CICS.RSU1306.SDFHLINK      CICS09 NOT_FOUND              
___ CICSSYS.CTS320.GA.CICS.RSU1306.SDFHLOAD      CICS09 NOT_FOUND              
___ CICSSYS.CTS320.GA.CICS.RSU1406.SDFHAUTH      CICS09 FOUND                  
___ CICSSYS.CTS320.GA.CICS.RSU1406.SDFHLINK      CICS09 FOUND                  
___ CICSSYS.CTS320.GA.CICS.RSU1406.SDFHLOAD      CICS09 FOUND                  
___ CICSSYS.V410.SDFHAUTH                        CICS02 FOUND                  
___ CICSSYS.V410.SDFHLINK                        CICS02 FOUND                  
___ CICSSYS.V410.SDFHLOAD                        CICS02 FOUND                  
___ CICSSYS.V410.SDFHLPA                         CICS02 FOUND                  
___ CSF.SCSFMOD0                                 MVZ1AA FOUND                  
___ DB2.DB2710.PDO0614.SDSNLOAD                  DB2CA8 NOT_FOUND              
___ FATS.LINKLIB                                 MVSLIB FOUND                  
___ GIM.SGIMLMD0                                 MVZ1AA FOUND                  
___ IBMPROD.PLI.V2R3M0.PLIBASE                   MVSPP5 NOT_FOUND              
___ IBMPROD.PLI.V2R3M0.PLICOMP                   MVSPP5 NOT_FOUND              
___ IBMPROD.PLI.V2R3M0.PLILINK                   MVSPP5 FOUND                  
___ IBMPROD.PLI.V2R3M0.SIBMBASE                  MVSPP5 NOT_FOUND              
___ IBMPROD.PLI.V2R3M0.SIBMLINK                  MVSPP5 NOT_FOUND              
___ IBMPROD.V1R4M0.COB2CICS                      MVSPP4 NOT_FOUND              
___ IBMPROD.V1R4M0.COB2LIB                       MVSPP4 FOUND                  
___ IOE.SIOELMOD                                 MVZ1AA FOUND                  
___ ISF.SISFLOAD                                 MVZ1AA FOUND                  
___ ISF.SISFLPA                                  MVZ1AA FOUND                  
___ ISP.SISFMOD1                                 MVZ1AA NOT_FOUND              
___ ISP.SISPLOAD                                 MVZ1AA FOUND