AUTHORIZED-LIBRARIES

File 50
Op-Sys z/OS
Statement FIND
Task Display a list of APF authorized data sets in z/OS.

Additional Fields Supported for z/OS

Dictionary Field Name F/L Mu DE Remarks
ERROR-CODE N3      
ERROR-TEXT A58      
NODE N5   D  
NODE-NAME A16   D  
SYSTEM-MESSAGE-CODE A10      
DSNAME A44   D Data set or library
VOLSER A6   D Volume or *SMS*

Additional Fields Supported for z/OS

Dictionary Field Name F/L Mu DE Remarks
DEVICE B4      
FILE-SYSTEM A3   D  
PREFIX A3   D  
SERIES A8   D  

Relevant Error Codes

Code Text z/OS
782 CSVAPF LIST <retcode>< reason-code> X  

Field Descriptions

Field Name Format/Length Operating System
DSNAME (A44) z/OS

Name of the data set or its prefix.

All APF authorized data sets are returned as an unordered list.

Field Name Format/Length Operating System
VOLSER (A6) z/OS

Volume of the data set, or *SMS* if the volume resides on an SMS controlled device.

Example: Using AUTHORIZED-LIBRARIES View

Assume the following datasets exist:

The example program ...

FIND AUTHORIZED-LIBRARIES WITH
   DSNAME=PPEX.*

DISPLAY DSNAME VOLSER

... returns the following information:

  DSNAME                             VOLSER
PPEX.IAF901.LOAD                             *SMS* 
PPEX.IAF901.LOAD.DEV                         *SMS* 
PPEX.IMS.RESLIB                              DBDC10
PPEX.MLC124.LOAD                             *SMS*